Re: Image Handler 2 Support
Quote:
Originally Posted by
milobloom
Ok.
Since no one can answer my question.
Let me ask this.
Is there an Alternate to using IH2????
I notice line 126 and 128 of bmz_image_hander.class.php deal with large and medium sizing. Check your image heights/widths, and make sure they are not empty?
ETA: Also make sure you have a suffix in the suffix boxes:
Product Info - Image Medium Suffix: _MED
Product Info - Image Large Suffix: _LRG
Re: Image Handler 2 Support
Quote:
Originally Posted by
mrmeech
Bottom line: my watermark just will. not. show up. All the files are in place correctly, and it is enabled in the admin. And IH2 works perfectly, except it won't plop the watermark on the images!! Some help would be really appreciated.. Thanks!
Can I see a link?
Re: Image Handler 2 Support
Quote:
Originally Posted by
mrmeech
Bottom line: my watermark just will. not. show up. All the files are in place correctly, and it is enabled in the admin. And IH2 works perfectly, except it won't plop the watermark on the images!! Some help would be really appreciated.. Thanks!
So, you DO have in the "images/medium" folder, a watermark named "watermark_MED.png", and in the "images/large" folder, a watermark named "watermark_LRG.png" ?...............Just checking.
1 Attachment(s)
Re: Image Handler 2 Support
Quote:
Originally Posted by
audradh
I have also tried jettrue's fix to no avail. I did get a parse error the first go round, but that must have been human error because I'm no longer receiving that after re-editting, downloading fresh copy of IH2 and editting the file from there, copying the code from 2 separate posts... you name it I have tried it, still only 1 image :wacko: I have cleared my cache, switched to IE, which I rarely use, checked multiple products, none have additional images. Configuration->Images->Product Info - Number of Additional Images per Row is set to 3.
BTW, I can see the additional images in IH2, but nothing shows in the catalog.
Any thoughts?
Audra
I got worried cause I never tested more than one additional image with my code fix :blush:, but its working for me. http://www.zencart137.jadetrue.com/i...&products_id=8
The images were uploaded using the IH tool in the admin.
I'm attaching my classes/bmz_image_handler.php, just in cause there was an issue with your edit.
Also make sure you've uploaded the new includes/modules/additional_images.php that comes with this mod.
Re: Image Handler 2 Support
Quote:
Originally Posted by
audradh
I have also tried jettrue's fix to no avail. I did get a parse error the first go round, but that must have been human error because I'm no longer receiving that after re-editting, downloading fresh copy of IH2 and editting the file from there, copying the code from 2 separate posts... you name it I have tried it, still only 1 image :wacko: I have cleared my cache, switched to IE, which I rarely use, checked multiple products, none have additional images. Configuration->Images->Product Info - Number of Additional Images per Row is set to 3.
BTW, I can see the additional images in IH2, but nothing shows in the catalog.
Any thoughts?
Audra
Check this:
Catalog --> Product Types --> "your product type" --> Edit layout --> Show Product Additional Images = 1.
Should fix your issue.
Re: Image Handler 2 Support
Quote:
Originally Posted by
jettrue
Can I see a link?
http://www.qcookies.com
Re: Image Handler 2 Support
Quote:
Originally Posted by
Get Em Fast
So, you DO have in the "images/medium" folder, a watermark named "watermark_MED.png", and in the "images/large" folder, a watermark named "watermark_LRG.png" ?...............Just checking.
Yes, the watermark_MED.png and the watermark_LRG.png files are in place in their respective folders.
I'm not sure if this makes a difference, but i upgraded my cart from 1.3.5 to 1.3.7. Is it possible it could be a database issue? When i was re-creating the new 1.3.7 site, i noticed that after i uploaded the IH2 files to all of their respective folders, that i did not have an "install IH2" button in the IH2 admin control panel. Instead, it was magically installed. I'm assuming stuff carried over from the 1.3.5 database info. So, just to make sure, i deleted IH2 from the database with the provided link, and installed it again, with the provided link.
If it helps, the site is http://www.qcookies.com
Now, i just found out something interesting... Essentially, all of my images for products are in images/product_images. There is also images/large and images/medium (with the correct png file and zoom files, respectively.) In the main images folder i have a watermark.png and zoom.png file as spec'ed in the IH2 installation instructions. Now, putting an image into the large folder does not generate a "large" image on the website. But if i go into the images/product_images folder and create an image with the _LRG suffix, it will show up on the product page with a watermark as an additional image on the bottom. The same image without the suffix (that generates the main image) does not plop a watermark on the main image once you click to zoom in.
I really hope that all made sense. If it didn't, i'll have a second attempt at explaining it. :dontgetit
Re: Image Handler 2 Support
Quote:
Originally Posted by
mrmeech
Yes, the watermark_MED.png and the watermark_LRG.png files are in place in their respective folders.
I'm not sure if this makes a difference, but i upgraded my cart from 1.3.5 to 1.3.7. Is it possible it could be a database issue? When i was re-creating the new 1.3.7 site, i noticed that after i uploaded the IH2 files to all of their respective folders, that i did not have an "install IH2" button in the IH2 admin control panel. Instead, it was magically installed. I'm assuming stuff carried over from the 1.3.5 database info. So, just to make sure, i deleted IH2 from the database with the provided link, and installed it again, with the provided link.
If it helps, the site is
http://www.qcookies.com
Now, i just found out something interesting... Essentially, all of my images for products are in images/product_images. There is also images/large and images/medium (with the correct png file and zoom files, respectively.) In the main images folder i have a watermark.png and zoom.png file as spec'ed in the IH2 installation instructions. Now, putting an image into the large folder does not generate a "large" image on the website. But if i go into the images/product_images folder and create an image with the _LRG suffix, it will show up on the product page with a watermark as an additional image on the bottom. The same image without the suffix (that generates the main image) does not plop a watermark on the main image once you click to zoom in.
I really hope that all made sense. If it didn't, i'll have a second attempt at explaining it. :dontgetit
I think here lies your problem. I always just upload images to the main directory, but if you are choosing to put them in a different folder, then I suppose your watermark needs to be in images/large/product_images/ folder? Again, I'm not too positive, because I've never uploaded them into a different folder, but I am sure that you have your watermark in the wrong place, since you use a different image folder.
Also, with IH2, you should not be uploading any large images manually. You upload the size you want your large image to be, then IH2 will automatically re-size your small and medium images for you, according to your image sizes set in your admin. But if you were doing it manually (which kind of defeats the purpose of installing IH2 in the first place), again, you have things in the wrong folder, since you are putting your images in a different folder. any large images would need to be in images/large/product_images/
If I were you, I'd make my life easier, and keep everything in the default images folder, as I'm not sure how well IH2 is programmed to work with different folders?
ETA: Here's the faq link for image folder issues:
https://www.zen-cart.com/tutorials/index.php?article=58
Re: Image Handler 2 Support
That's right, jettru.....the images need to be in the main image directory, if you want just one image.....if you want more than one image, then the images STILL need to be in MAIN "images/medium" & "images/large" folders. And so do the watermark.png's.
mrmeech.......are you wanting just one image to be resized for each product, or are you trying for 1 small image on the index page, with a DIFFERENT, yet bigger image on hover (which will be the same as on the product info page), and yet a DIFFERENT, yet larger image upon click of the product info image?
If you want the same image, just resized, then you don't need ANY _MED, or _LRG images AT ALL.
Re: Image Handler 2 Support
Quote:
Originally Posted by
Get Em Fast
That's right, jettru.....the images need to be in the main image directory, if you want just one image.....if you want more than one image, then the images STILL need to be in MAIN "images/medium" & "images/large" folders. And so do the watermark.png's.
mrmeech.......are you wanting just one image to be resized for each product, or are you trying for 1 small image on the index page, with a DIFFERENT, yet bigger image on hover (which will be the same as on the product info page), and yet a DIFFERENT, yet larger image upon click of the product info image?
If you want the same image, just resized, then you don't need ANY _MED, or _LRG images AT ALL.
I just want the same image resized. I was giving you the info on the _LRG and _MED files, where i tried placing them, and what happened, simply to try to give everyone an idea of how IH2 is behaving.
I just tried moving a few product images from the images/product_images folder to the default image folder (and, of course updated the path in the database for the product to reflect the change) and it still did not watermark the image. I also tried clearing the cache through the IH2 admin - didn't fix it either... hmph :(