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,682

Results 2,921 to 2,940 of 7,094
23 Aug 2008, 6:06 PM
#2921
dakini avatar

dakini

New Zenner

Join Date:
Aug 2008
Posts:
2
Plugin Contributions:
0

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

I'm using Zen Cart v1.3.8a on this site:
http://www.canepress.org/store/
I installed Image Handler 2 and it is resizing images for the main image on the product pages, but the additional images don't show up and a couple of pages in the Zen Cart Admin area won't display, either.

When I go to Admin > Tools > ImageHandler2 and click, a totally blank page comes up. Also, when I go to Admin > Catalog > Categories/Products and select a product I can see the ImageHandler icon on the product listing but when I click on it I get another blank page.

I'm pretty sure that when I first installed Image Handler 2 these things showed up initially, but then after logging off and back on again they didn't work anymore. :huh:

I'd really appreciate your suggestions on fixing this problem. If there is another thread that deals with this problem that I missed when searching the forums please point me in that direction.

Thanks!

23 Aug 2008, 6:45 PM
#2922
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

dakini:

I'm using Zen Cart v1.3.8a on this site:
http://www.canepress.org/store/
I installed Image Handler 2 and it is resizing images for the main image on the product pages, but the additional images don't show up and a couple of pages in the Zen Cart Admin area won't display, either.

When I go to Admin > Tools > ImageHandler2 and click, a totally blank page comes up. Also, when I go to Admin > Catalog > Categories/Products and select a product I can see the ImageHandler icon on the product listing but when I click on it I get another blank page.

I'm pretty sure that when I first installed Image Handler 2 these things showed up initially, but then after logging off and back on again they didn't work anymore. :huh:

I'd really appreciate your suggestions on fixing this problem. If there is another thread that deals with this problem that I missed when searching the forums please point me in that direction.

Thanks!

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

24 Aug 2008, 10:59 PM
#2923
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

bluesky2008:

in my IH2 php files, i found some files only with the beginning <?php but without the close ?> is it ok? or do i have to add those missing ?>

It's ok. This actually is to thwart the "possibility" of the dreadful white screen error.

I wouldn't worry to much about it.

TheHYPO:

I just installed IH2, but I had to account for a number of personal modifications, and what appeared to be ZC changes since the version of IH2 was developed.

Perhaps a result (though I'm not entirely clear), I have two issues.

The first issue is the more odd, and may be caused by my working around mods. The site does not do popups even with the config for it enabled. I'm looking at the thumbnail to medium popups that (as I understand it) are supposed to popup when you mouseover a thumbnail [for example, in a category listing].

I'm unclear from picking through the included files where the actual implimentation for that comes from. I don't see any file included that modifies the html around thumbnails, so I'm not sure what I may have missed including. I mainly didn't copy over the 'modules' files (those were the main overwrites), because I didn't see anything in there that related to thumbnails - it all seemed to related to the medium to large popups.

Any help would be appreciated. Thanks


The second, and far less important, SHOULDN'T be caused by any selective installation: I installed the admin-side files as-is, as there were no real over-writes (other than the category_product_listing.php file, which I modded in the single change).

I was unable to use IH2 to delete an existing image that existed prior to the installation. I don't know if this is a bug or a problem with my installation; when I deleted the file by FTP from the images directory, the IH2 page showed 'no images', but once I uploaded a new copy of said image, IH2 showed 2 images for the product (one with the old filename). It was a weird situation; I can deal manually with the old images, I just don't want IH2 to mess up my existing stuff with extra images or anything.

  1. tpl_modules_main_product_image.php
  2. Check the permissions of the appropriate files. Make sure your image names for different products aren't similar, as Zen uses prefixes to search your images folder for additional images. Clear your image cache from the admin or by manually deleting the sub-directories of bmz_cache.

dakini:

I'm using Zen Cart v1.3.8a on this site:
http://www.canepress.org/store/
I installed Image Handler 2 and it is resizing images for the main image on the product pages, but the additional images don't show up and a couple of pages in the Zen Cart Admin area won't display, either.

When I go to Admin > Tools > ImageHandler2 and click, a totally blank page comes up. Also, when I go to Admin > Catalog > Categories/Products and select a product I can see the ImageHandler icon on the product listing but when I click on it I get another blank page.

I'm pretty sure that when I first installed Image Handler 2 these things showed up initially, but then after logging off and back on again they didn't work anymore. :huh:

I'd really appreciate your suggestions on fixing this problem. If there is another thread that deals with this problem that I missed when searching the forums please point me in that direction.

Thanks!

This is usually attributed to a few blank lines following the closing ?>. Remove the empty lines, or remove the closing PHP comment completely.

This is what'd you'd remove "?>"

25 Aug 2008, 4:27 PM
#2924
dakini avatar

dakini

New Zenner

Join Date:
Aug 2008
Posts:
2
Plugin Contributions:
0

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

Thank you, testuser and tophand! :smile:

27 Aug 2008, 12:29 PM
#2925
cinbou avatar

cinbou

New Zenner

Join Date:
Aug 2007
Posts:
91
Plugin Contributions:
0

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

I installed Image Handler and everything seemed to work fine. I was able to load the Image Handler 2 from the Admin Tools menu and it installed fine.

However, when I go to my store, the page is blank!!

Any ideas what is wrong? I found this information in the Image Handler support thread: If you have modified any of the files located in this contribution’s includes/templates/template_custom folder, you need to merge these files (popup_image_additional/tpl_main_page.php in particular) with those of your custom template. Do I need to do this? How do I do it?

Help!! Here is the link to the store: http://twistjewelrydesign.com/shoppingcart/

Thanks,
Cindy

27 Aug 2008, 3:22 PM
#2926
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

cinbou:

I installed Image Handler and everything seemed to work fine. I was able to load the Image Handler 2 from the Admin Tools menu and it installed fine.

However, when I go to my store, the page is blank!!

Any ideas what is wrong? I found this information in the Image Handler support thread: If you have modified any of the files located in this contribution’s includes/templates/template_custom folder, you need to merge these files (popup_image_additional/tpl_main_page.php in particular) with those of your custom template. Do I need to do this? How do I do it?

Help!! Here is the link to the store: http://twistjewelrydesign.com/shoppingcart/

Thanks,
Cindy

So you made edits to IH files before uploading?
What program did you use to edit the files?
You want to look at this.
https://www.zen-cart.com/tutorials/index.php?article=82

For merging files you need a file compare program like WinMerge.
Do search (Zen Cart Forum) for file merge.

M

27 Aug 2008, 4:00 PM
#2927
cinbou avatar

cinbou

New Zenner

Join Date:
Aug 2007
Posts:
91
Plugin Contributions:
0

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

Tophand,

No, I didn't make changes to the image handler files before loading. However, I am using a custom template. I thought that's what the "merge" was referring to. But I guess not. I believe I loaded the appropriate files to "my template" folder.

I'm going to try to run the debug and report back.

Thanks,
cindy

27 Aug 2008, 10:56 PM
#2928
cinbou avatar

cinbou

New Zenner

Join Date:
Aug 2007
Posts:
91
Plugin Contributions:
0

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

O.K. I downloaded the Debug Error Utility and installed it exactly as instructed. (I also made sure that the Cache folder was set to write) and I don't see an error log.

I go to the cache folder and there is no myDEBUG-xxxx.log. Where do I find this?

Thanks,

28 Aug 2008, 6:47 PM
#2929
thehypo avatar

thehypo

Zen Follower

Join Date:
Jan 2006
Posts:
109
Plugin Contributions:
0

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

testuser:

It's ok. This actually is to thwart the "possibility" of the dreadful white screen error.

thehypo:

The first issue is the more odd, and may be caused by my working around mods. The site does not do popups even with the config for it enabled. I'm looking at the thumbnail to medium popups that (as I understand it) are supposed to popup when you mouseover a thumbnail [for example, in a category listing].

I'm unclear from picking through the included files where the actual implimentation for that comes from. I don't see any file included that modifies the html around thumbnails, so I'm not sure what I may have missed including. I mainly didn't copy over the 'modules' files (those were the main overwrites), because I didn't see anything in there that related to thumbnails - it all seemed to related to the medium to large popups.

  1. tpl_modules_main_product_image.php

I'm confused. tpl_modules_main_product_image.php is NOT a file that was included in my image handler zip as a modified file...

28 Aug 2008, 8:14 PM
#2930
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

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

testuser:

Please check that the Small Image Dimensions match the dimensions of the image your hovering over.

Options are under Configuration :: Images.

Example:

The following settings won't allow a hover to be shown for the "New Products" area:

But by changing your settings to one of the following two ways, will:

Notice how the settings now match ... Which one you choose is based on your need.

I don't get it....I want the small images undder product info for instance width=80 and height= 140, when a mouse over must the images of course bigger for example width=180 and height=240

That is what image handler must make the shop nice. Vut that doesn't work, why would i have the mouse over images the same size as the are?

29 Aug 2008, 1:41 AM
#2931
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

raimond:

I don't get it....I want the small images undder product info for instance width=80 and height= 140, when a mouse over must the images of course bigger for example width=180 and height=240

That is what image handler must make the shop nice. Vut that doesn't work, why would i have the mouse over images the same size as the are?

Admin--> Configuration--> Images

Product Info - Image Width 180
Product Info - Image Height 240

The above is your main product image (medium) size setting which is also the size the pop-up/Zoom image.

M

29 Aug 2008, 3:16 PM
#2932
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

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

kitcorsa:

indeed i did fella, im admin 1 and only me with access to admin settings. its a wierd erro as the IH and admin profiles dont use any of the same files, no overwrites.

any idea how i can have admin privliged / profile working as well as IH??

since IH was installed admin profiles has stopped working fully. i can stop access to section but still shows the buttons in admin.

30 Aug 2008, 2:26 PM
#2933
beavo1 avatar

beavo1

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

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

Hi guys,

Is it possible to set up IH2 to use original source images that are uploaded to a directory above the web root? i.e. "off web" I have access to this area on my web server.

What I would ideally like to be able to do is use IH2 to add the product images by selecting them from a folder that is situated above public_html. I would then like to watermark the product images that appear in Zencart.

Has anybody had any luck in setting it up like this?

Thanks.

30 Aug 2008, 10:11 PM
#2934
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

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

I moved zen cart from subfolder to root.

Now I get error when zen cart trying to display the category products as list of images.

Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/...public_html/includes/classes/bmz_image_handler.class.php on line 646

error is in following code
$ok = imagepng($image, $dest_name, $quality);

Some reason some images does appear good but some it displays the error on.

I do have images uploaded in /images/ folder even images that gives error.

30 Aug 2008, 11:03 PM
#2935
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

marksu:

I moved zen cart from subfolder to root.

Now I get error when zen cart trying to display the category products as list of images.

Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /home/...public_html/includes/classes/bmz_image_handler.class.php on line 646

error is in following code
$ok = imagepng($image, $dest_name, $quality);

Some reason some images does appear good but some it displays the error on.

I do have images uploaded in /images/ folder even images that gives error.

Did you clear image cache?

M

31 Aug 2008, 5:07 AM
#2936
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

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

tophand:

Did you clear image cache?

M

Yes I clear cache.
I also did following.

  1. Cleared image cache
  2. Removed IH from database
  3. Installed IH back to database

After removing IH I get no error but after reinstalling same error appear. So the issues must be IH.
After installing bach IH same problems accure.

I even reuploaded the IH files.

31 Aug 2008, 6:05 PM
#2937
marksu avatar

marksu

Zen Follower

Join Date:
Nov 2007
Posts:
260
Plugin Contributions:
0

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

Seems like for some reason the IH creates corrupted cache image files.

Where can I find the function that creates them, so I can debug?

1 Sep 2008, 1:25 AM
#2938
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

marksu:

Seems like for some reason the IH creates corrupted cache image files.

Where can I find the function that creates them, so I can debug?

Have you check your image files to see they are not corrupt?
What size are the images you are uploading?

IH doesn't create the image file, the server side software GD libraries or ImageMagick does.
Large image files can choke GD libraries or ImageMagick (sever times out) which will create corrupt files.

JPG and jpg can not be mixed.
Check your settings under Images.

M

1 Sep 2008, 1:31 AM
#2939
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

kitcorsa:

any idea how i can have admin privliged / profile working as well as IH??

since IH was installed admin profiles has stopped working fully. i can stop access to section but still shows the buttons in admin.

Have you look at the files to see if either is using the same function (DHTML or JavaScript)?

M

1 Sep 2008, 8:03 AM
#2940
dhanesh avatar

dhanesh

New Zenner

Join Date:
May 2008
Location:
India, Trivandrum,Kerala
Posts:
43
Plugin Contributions:
0

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

Hi ,

I have installed Image handler and the installation all went fine.
But its not showing up in the page.In spite a small +sign is showing near the images.When i mouse over the images the following errors show up:

Fire bug is giving me this error:
showtrail is not defined
onmouseover(mouseover clientX=0, clientY=0)

hidetrail is not defined
onmouseout(mouseout clientX=0, clientY=0)

Here is the link:
http://lockdownsurveillance.com/

Please hep is urgent:mellow: