Re: Image Handler 2 Support
IH2 seems to be working well for us on 1.3.8a, with one exception.
When we click "View Larger Image" on the product detail page, it shows the original large image and not a resized version.
Our preferences are set to:
IH resize images: Yes
IH large image maximum width: 450
IH large image maximum height: 450
We are still seeing the original, unrenamed images at the original size (ex. 1000 px x 1000 px).
Is this the correct behavior, is it a 1.3.8a issue, or did we miss a setting?
Re: Image Handler 2 Support
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 ?>
Re: Image Handler 2 Support
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.
Re: Image Handler 2 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!
Re: Image Handler 2 Support
Quote:
Originally Posted by
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
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.
Quote:
Originally Posted by
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.
Quote:
Originally Posted by
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 "?>"
Re: Image Handler 2 Support
Thank you, testuser and tophand! :smile:
Re: Image Handler 2 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
Re: Image Handler 2 Support
Quote:
Originally Posted by
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
Re: Image Handler 2 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