Re: Image Handler 2 Support
Hopefully someone can point me in the right direction. This used to work, but somewhere along the way, something changed on our side and I'm trying to get it back to normal.
Image Handler IS WORKING. However, it's not caching LARGE images.
For example, go to one of our products here: http://www.mjmmagic.com/store/psyphe...d-p-11983.html
You can see the MEDIUM image preview is cached by viewing the image source, and seeing that it's being pulled from the BMZ_Cache folder. However, when clicking to view the LARGER image, it's pulling from our default Images directory, and not a bmz_cache directory.
I want to be able to put a watermark on these larger images, but can't seem to do it, and I think it's because it's not being cached correctly and only displaying the original images.
Any ideas? I recently upgraded ZC from 1.3.8a to 1.3.9g.
Re: Image Handler 2 Support
Try deleting all the folders (NOT THE FILES) in the bmz_cache directory, go to the admin to clear the cache and let IH2 recreate your cache folders and see if that solves the issue..
Quote:
Originally Posted by
Jeff_Mash
Hopefully someone can point me in the right direction. This used to work, but somewhere along the way, something changed on our side and I'm trying to get it back to normal.
Image Handler IS WORKING. However, it's not caching LARGE images.
For example, go to one of our products here:
http://www.mjmmagic.com/store/psyphe...d-p-11983.html
You can see the MEDIUM image preview is cached by viewing the image source, and seeing that it's being pulled from the BMZ_Cache folder. However, when clicking to view the LARGER image, it's pulling from our default Images directory, and not a bmz_cache directory.
I want to be able to put a watermark on these larger images, but can't seem to do it, and I think it's because it's not being cached correctly and only displaying the original images.
Any ideas? I recently upgraded ZC from 1.3.8a to 1.3.9g.
Re: Image Handler 2 Support
How would you delete the folders without it deleting the cached files contained within them?
Or are you only saying that I should go to the IH2 admin and click "Clear Image Cache", and that will take care of everything for me?
Re: Image Handler 2 Support
Quote:
Originally Posted by
Jeff_Mash
How would you delete the folders without it deleting the cached files contained within them?
Or are you only saying that I should go to the IH2 admin and click "Clear Image Cache", and that will take care of everything for me?
Depending on the version of IH2 you are running there are 1 or 2 files in the bmz_cache folder followed by the folders with the cached images.... delete the folders in bmz_cache, leave the two files alone..
Re: Image Handler 2 Support
I have IH2 and Lightbox installed and have succeeded in getting additionel images on my product pages.
However, I only want those additionel images shown in "Gallery" view and otherwise hidden. Is this possible ?
Any advice much welcome.
Kim, founder of PUREchocolatetruffles.co.uk
Re: Image Handler 2 Support
Quote:
Originally Posted by
Jeff_Mash
Hopefully someone can point me in the right direction. This used to work, but somewhere along the way, something changed on our side and I'm trying to get it back to normal.
Image Handler IS WORKING. However, it's not caching LARGE images.
For example, go to one of our products here:
http://www.mjmmagic.com/store/psyphe...d-p-11983.html
You can see the MEDIUM image preview is cached by viewing the image source, and seeing that it's being pulled from the BMZ_Cache folder. However, when clicking to view the LARGER image, it's pulling from our default Images directory, and not a bmz_cache directory.
I want to be able to put a watermark on these larger images, but can't seem to do it, and I think it's because it's not being cached correctly and only displaying the original images.
Any ideas? I recently upgraded ZC from 1.3.8a to 1.3.9g.
What's your image setting for LARGE images. Keep in mind that IH will only cache large images if your LARGE image setting (width and height) is actually less than the original image uploaded.
For example, let's say you upload an image that's 400 x 400 but your setting for large image is 600 x 400. Since your original image size is less than the image setting, IH will not create a cache. The logic behind caching is to speed things up and if your original image is small than your image setting, you don't gain anything so IH just displays the original image.
SMALL and MEDIUM will always almost be cached because the size setting is most of the time small than the original image. If your original image is small than your small/medium setting they are not cache either.
Well, at least this is how things worked when this was originally released...you will have to test my theory to make sure it hasn't changed in new versions.
Re: Image Handler 2 Support
Quote:
Originally Posted by
PUREchocolatetruffle
I have IH2 and Lightbox installed and have succeeded in getting additionel images on my product pages.
However, I only want those additionel images shown in "Gallery" view and otherwise hidden. Is this possible ?
Any advice much welcome.
Kim, founder of PUREchocolatetruffles.co.uk
If you remove the code below from your template it will remove additional images from showing on the product page. However, how are you planning to let your customers know that you have additional images if they don't click on the first image in your gallery.
PHP Code:
<!--bof Additional Product Images -->
<?php
/**
* display the products additional images
*/
require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->
Re: Image Handler 2 Support
That makes sense! So is there anyway to watermark the "large" image if it's smaller than your large settings?
For example, let's say I upload an image thats 100x100, but let's say my "large" image dimensions are 300x300. It caches the small and medium size into the bmz_cache folder, but it uses the original image for the "large" size, loading right from my zen cart store/images folder. Is there anyway to watermark those then? I am guessing not, but I want to bounce it off you guys.
Quote:
Originally Posted by
BlessIsaacola
What's your image setting for LARGE images. Keep in mind that IH will only cache large images if your LARGE image setting (width and height) is actually less than the original image uploaded.
For example, let's say you upload an image that's 400 x 400 but your setting for large image is 600 x 400. Since your original image size is less than the image setting, IH will not create a cache. The logic behind caching is to speed things up and if your original image is small than your image setting, you don't gain anything so IH just displays the original image.
SMALL and MEDIUM will always almost be cached because the size setting is most of the time small than the original image. If your original image is small than your small/medium setting they are not cache either.
Well, at least this is how things worked when this was originally released...you will have to test my theory to make sure it hasn't changed in new versions.
Re: Image Handler 2 Support
Quote:
Originally Posted by
Jeff_Mash
That makes sense! So is there anyway to watermark the "large" image if it's smaller than your large settings?
For example, let's say I upload an image thats 100x100, but let's say my "large" image dimensions are 300x300. It caches the small and medium size into the bmz_cache folder, but it uses the original image for the "large" size, loading right from my zen cart store/images folder. Is there anyway to watermark those then? I am guessing not, but I want to bounce it off you guys.
IF you set IH watermark large images to true that should display the watermark as long as you upload the watermark image to your server (again I am assuming the version you're using still offers this feature).
Re: Image Handler 2 Support
I have, but it still isn't showing. I put a watermark_LRG.png in my images/large directory (which doesn't have any image files, mind you)......and I have a watermark.png in the root of my /images directory, but it still hasn't put anything on the "larger" images since it's launching them straight from the root images folder.
And I'm using IH2.
So I have an Example.jpg which I upload. The small thumbnail is loaded from a bmz_cache location with a watermark. The medium thumbnail also loads from a bmz_cache location with a watermark. The "larger image" that pops up from the product page is loading the original image from the /store/images/ directory, and it's not watermarked. If I can only get images to watermark from this directory, we would be GOLDEN!
Any more ideas? I appreciate your help!
Quote:
Originally Posted by
BlessIsaacola
IF you set IH watermark large images to true that should display the watermark as long as you upload the watermark image to your server (again I am assuming the version you're using still offers this feature).