Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,510,660

Results 2,661 to 2,680 of 7,094
21 May 2008, 3:03 PM
#2661
briansok avatar

briansok

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

Image Handler 2 (for ZC v1.3.8 ONLY) Support

OK I think it is working now. It seems that if an image already existed on the server and I copied the image up a 2nd time then IH did not do it's resize magic even if I deleted the image prior to copying it up to the server the 2nd time. If I copy up a new image name in the category/product section it works great.

I did find one new problem. I have 2 products that now have multiple images listed for them. I never copied up an extra image for any of my products. In both cases the extra images have a similar name. For example I have a product with the image file myrug1.jpg that I attached using the category/product section. This product now has 6 images attached (myrug100a.jpg, myrug101a.jpg etc). How did this happen? Also how do I get rid of them? I started to delete the extra images in Image Handler but found out it also deleted the image associated with the correct product. Now those products do not have an image.

21 May 2008, 5:14 PM
#2662
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

briansok:

I did find one new problem. I have 2 products that now have multiple images listed for them. I never copied up an extra image for any of my products. In both cases the extra images have a similar name. For example I have a product with the image file myrug1.jpg that I attached using the category/product section. This product now has 6 images attached (myrug100a.jpg, myrug101a.jpg etc). How did this happen? Also how do I get rid of them? I started to delete the extra images in Image Handler but found out it also deleted the image associated with the correct product. Now those products do not have an image.

https://www.zen-cart.com/tutorials/index.php?article=315

M

21 May 2008, 5:28 PM
#2663
briansok avatar

briansok

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Thanks Tophand!:smile:

22 May 2008, 6:23 AM
#2664
need2know avatar

need2know

New Zenner

Join Date:
Aug 2005
Posts:
6
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I am moving to a new virtual server and cant get IH2 to install. I install a fresh load of ZC 1.3.8 and then IM2 1.3.x and copy all default mods from contribution. I get a blank page from both admin and home.
If I remove functions_bmz_image_handler.php admin will come up, of course IH2 won't work, but thought it might help point out problem area.

The new env has the following: PHP 5.0.4 GD 2.0.28

This runs perfectly on another host with PHP 4 ... Any Suggestions??
Thanks in advance.

22 May 2008, 8:18 AM
#2665
ed89 avatar

ed89

New Zenner

Join Date:
Mar 2007
Posts:
33
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Could someone please take a look at the following?

http://jollofe.com/index.php?main_page=index&cPath=1

Imagehandler is fantastic. But I would like the nice javascript hover. I've set everything to 'yes' in the config/images for IH but still doesn't seem to be working.

22 May 2008, 7:02 PM
#2666
kevinmc3 avatar

kevinmc3

Totally Zenned

Join Date:
Jun 2006
Posts:
786
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I have a page that has worked fine until this morning. This product Category page, is BLANK. It displays no products as of this morning. I am told it may be an Image Handler problem, maybe trying to load a large file. But, I don;t see any large (larger then 1MB, most are less then 100k, largest is about 125k).
Products are in Admin. Also, if I add a product, it does not display in this category. All other products displaying in other categories.

Also, how tdo I disable IH 2.0 just to see if it may be the culprit? I don't see a disable feature in the IH Manager. The problematic link is below. Any ideas MOST APPRECIATED.

http://www.cvtreasures.com/index.php?main_page=index&cPath=102

22 May 2008, 8:11 PM
#2667
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Also, how tdo I disable IH 2.0 just to see if it may be the culprit? I don't see a disable feature in the IH Manager. The problematic link is below. Any ideas MOST APPRECIATED.

In admin go to IH Manager and do the uninstall function. You can easily re-install by going back and clicking install. Try that to see if it helps - no guarantee, just a guess!

22 May 2008, 9:47 PM
#2668
kevinmc3 avatar

kevinmc3

Totally Zenned

Join Date:
Jun 2006
Posts:
786
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I see "Remove Image Handler from database". Is this same as Remove? I'm a bit shaky on removing this as the risk of removing/deleting all images I've installed via IH.

22 May 2008, 10:07 PM
#2669
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I have been using the normal zc image style. _MED & _LRG. I installed IH2 about 2 months ago and I love it. No more making diff sizes and dealing with all that headache.

Today I decided to shrink down my image dir to save server space. Downloaded my image dir, batched all large and medium to remove the _med and _lrg.

Moved all of the "used to be _med's" into my (local) images dir to overwrite the smaller ones and then again with the "used to be _lrg's".

Now I have one dir /images/ with all of my largest images there. So there isn't an images/large or images/medium now. Just /images/.

I uploaded the new images directory to the server and gave the old one a different name so it wouldn't be used but I still have the backup. Now it seems like it's working but. . .

Why do the medium and large images break when I go to admin --> images and remove the _LRG and _MED from where it says large image directory and medium image directory?

Shouldn't that work? Doesn't IH2 know what to do? Should I go to admin-->tools-->image handler2-->admin and clear the Image Cache?

If I'm just way off please explain how this transition should be made.

Thank you,
John

22 May 2008, 10:15 PM
#2670
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Kevin
I'm really not sure what will happen when you uninstall this mod since you have used it to bring in new images. If you don't get a solid answer as soon as you would like, I would recommend a full DB backup and then uninstall it. If it totally breaks install your back up.

Let us know what you decide and what the outcome is please.

John

23 May 2008, 2:39 AM
#2671
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

kevinmc3:

I see "Remove Image Handler from database". Is this same as Remove? I'm a bit shaky on removing this as the risk of removing/deleting all images I've installed via IH.

Backup, backup, always backup!

You could have a corrupt image.

Using the link "Remove Image Handler from database" doesn't delete anything.
All it does is unhook IH from the database.
After doing this click on the link "Clear Image Cache".
Double check by FTPing or using your host control panel and looking inside the bmz_cache folder. It is safe to delete all sud-folders/images in bmz_cache folder. (IH will create all folders/images on the fly when needed.)

After clearing/deleting the cache then click the link to "install Image Handler".

M

23 May 2008, 2:56 AM
#2672
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

ed89:

Could someone please take a look at the following?

http://jollofe.com/index.php?main_page=index&cPath=1

Imagehandler is fantastic. But I would like the nice javascript hover. I've set everything to 'yes' in the config/images for IH but still doesn't seem to be working.

You only need one. I would remove the one red.

<script type="text/javascript" src="includes/templates/iC_AcadameV1.2/jscript/jscript_imagehover.js"></script>
<script language="JavaScript" type="text/javascript" src="http://jollofe.com/includes/templates/iC_AcadameV1.2/jscript/jscript_imagehover.js"></script>

M

23 May 2008, 3:04 AM
#2673
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

need2know:

I am moving to a new virtual server and cant get IH2 to install. I install a fresh load of ZC 1.3.8 and then IM2 1.3.x and copy all default mods from contribution. I get a blank page from both admin and home.
If I remove functions_bmz_image_handler.php admin will come up, of course IH2 won't work, but thought it might help point out problem area.

The new env has the following: PHP 5.0.4 GD 2.0.28

This runs perfectly on another host with PHP 4 ... Any Suggestions??
Thanks in advance.

Did you double check to see that you uploaded "All" the IH files?
Not missing this one?

/includes/extra_functions/functions_bmz_image_handler.php

M

23 May 2008, 5:17 AM
#2674
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

bumba000:

Should I go to admin-->tools-->image handler2-->admin and clear the Image Cache?

Thank you,
John

Have you tried this?
Shouldn't hurt if you hadn't yet.

M

23 May 2008, 5:32 AM
#2675
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I did go and clear the cache for IH2, didn't seem to change anything tho.
I go to admin>images and remove the "_LRG" and "_MED" for the large and medium image extensions and it breaks every image that isn't small.

I don't get it. I mean image handler isn't using the extensions and I don't have any images now that have the extensions in their name. It's not broken if I just leave it alone but I really want to know why this is happening.

Thanks,
John

23 May 2008, 6:47 AM
#2676
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

bumba000:

I did go and clear the cache for IH2, didn't seem to change anything tho.
I go to admin>images and remove the "_LRG" and "_MED" for the large and medium image extensions and it breaks every image that isn't small.

I don't get it. I mean image handler isn't using the extensions and I don't have any images now that have the extensions in their name. It's not broken if I just leave it alone but I really want to know why this is happening.

Thanks,
John

Ok, I get what you are doing.

You do need to leave the extensions "_MED" & "_LRG" in place as IH does use them. IH adds the extensions on the fly so Zen-Cart knows what image size to use in the correct place.

M

23 May 2008, 8:49 AM
#2677
ed89 avatar

ed89

New Zenner

Join Date:
Mar 2007
Posts:
33
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tophand:

You only need one. I would remove the one red.

<script type="text/javascript" src="includes/templates/iC_AcadameV1.2/jscript/jscript_imagehover.js"></script>

<script language="JavaScript" type="text/javascript" src="http://jollofe.com/includes/templates/iC_AcadameV1.2/jscript/jscript_imagehover.js"></script>


Thanks, but I had this before and it did not work. I only added the second to be sure it was definitely pointing to the right location. All files are uploaded.
23 May 2008, 9:05 AM
#2678
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

ed89:

Could someone please take a look at the following?

http://jollofe.com/index.php?main_page=index&cPath=1

Imagehandler is fantastic. But I would like the nice javascript hover. I've set everything to 'yes' in the config/images for IH but still doesn't seem to be working.

Config/images
The following need to have the same image size setting if you want to use the hover/popup with that feature:
Small Image Width
Small Image Height
Image - Product New Listing Width
Image - Product New Listing Height
Image - New Products Width
Image - New Products Height
Image - Featured Products Width
Image - Featured Products Height
Image - Product All Listing Width
Image - Product All Listing Height

You can leave either width or height fields blank or zero. This will allow the image to scale correctly.

HTH,
M

23 May 2008, 4:23 PM
#2679
thunderhans avatar

thunderhans

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Sorry that my first post here is a help-request, but i couldnt find a solution to this problem by myself ;)
I installed Image Handler 2 for zen cart 1.3.x and the install worked flawless, until i uploaded a picture to a pruduct. now everytime i open the product in image handler i get the message

Warning: preg_match() [function.preg-match]: Unknown modifier 'p' in /mnt/web7/21/67/51778667/htdocs/shop/admin/products_image_manager.php on line 948

I found nothing like this via the search, so i hope you can help :)

25 May 2008, 6:29 AM
#2680
thunderhans avatar

thunderhans

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

thunderhans:

Sorry that my first post here is a help-request, but i couldnt find a solution to this problem by myself ;)
I installed Image Handler 2 for zen cart 1.3.x and the install worked flawless, until i uploaded a picture to a pruduct. now everytime i open the product in image handler i get the message

Warning: preg_match() [function.preg-match]: Unknown modifier 'p' in /mnt/web7/21/67/51778667/htdocs/shop/admin/products_image_manager.php on line 948

> 
> I found nothing like this via the search, so i hope you can help :)

Okay, found the problem and eliminated it ;)