Give this man a prize!!!! If Best Sellers is an add-on, it may not work with Image Handler.. and I don't have an answer off the top of my my head as to how to modify it to do so.. Suggest hitting up the Best Sellers sidebox support thread..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Again, it's in the readme;
Note on the Large Image dimension: You can set it to whatever you want, but if the largest image you upload is smaller than these dimensions Image Handler4 will not enlarge your image (Again, Image Handler4 does not enlarge images). If the largest image you upload is larger than these dimensions, Image Handler4 will re-size your image based on these settings. (Image Handler4 will maintain the image's aspect ratio when it re-sizes the image)
Edit; need to read too... sry... best seller sidebox images... I focused on "ZOOM" as in enlarge.. ^^
Last edited by Gerjan; 8 Apr 2012 at 07:13 PM.
Here's your answer below in case you missed this..
|
|
|
|
|
\/
I say this all the time (and have taken flak for it on occasion too), but the readme REALLY does answer NEARLY ALL QUESTIONS about IH4's installation and functionality!!! This is why I constantly push people back to it.. We put a LOT of effort in to this document, and I'm VERY confident that we cover a LOT of ground in this document.. (we REALLY do..)
Last edited by DivaVocals; 8 Apr 2012 at 07:13 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
I have a question that I can't find answered in the readme. I have read the whole readme...
I've installed the snapshot mod running as cron after having a site hacked and starting fresh with Zen 1.5
I notice that there are continual additions to the BMZCache folder.
Are the images for IH4 created on demand by users browsing the site?
If so, is there anyway to force the script to run and create all the images at once so that the snapshot of the website files will remain unchanged?
What does the clear cache in the admin tools actually do?
Should I exclude BMZcache from the snapshot tool? I'm reluctant to do this because I've heard hackers can disguise a file as an image. I certainly don't want to be hacked again and am now taking security as seriously as possibly.
IH4 creates copies of your images (leaving the original images untouched) and resizes and optimizes them and stores them in the bmz_cache folder. This way, IH4 can serve up various sized, already optimized images on the fly as pages load when visitors browse your store. This is why you are seeing continual additions to that folder.
Emptying the bmz_cache folder will simply cause IH4 to recreate the copies. For sites that have a lot of images, this is a good thing to do from time to time as a part of your regular server maintenance.
The clear cache tool in the admin was designed to do this for you at the click of a button, but it doesn't work, so clearing the cache must be done manually either through your cpanel's filemanager or an ftp program.
Now, regarding the snapshot addon - this tool is designed to take a snapshot of your files and folders at various points in time for the purpose of being able to quickly and easily compare the contents of your store between one point of time and another to easily identify differences in the event of a hack.
Since files are being continually created by IH4 and stored in the bmz_cache folder, you will naturally have differences in your snapshots.
Changing the IH4 script to force all images to be created at once and then stored undermines the core functionality of IH4 and is not recommended.
So am I correct in saying that IH only creates the optimized images as they are requested?
Does this mean that the imiages are created on demand for the first request and then available from that point on from the bmzcache?can serve up various sized, already optimized images on the fly as pages load when visitors browse your store
Yep, this is my understanding.
Yes, my understanding is that this is how it works up to and until the cache is cleared. But..."first request" may be only in terms of visitor sessions/browser sessions (vs. the idea that one visitor browsing every single page of your store can completely create the bmz_cache folder files that will never ever change again). I have noticed that on my test site that nobody visits but me, the bmz_cache folder seems to grow over time.
So quite honestly, I would love for Diva or one of the other gurus that know this addon inside out and backwards to chime in on this point to make sure the info you're getting is entirely accurate.
There may be a bit more going on in the background that I'm not aware of![]()
I am having trouble finding support for this, I am coming up with error "PHP Warning: strstr() [<a href='function.strstr'>function.strstr</a>]: Empty delimiter in /home7/woodvil1/public_html/includes/classes/bmz_image_handler.class.php on line 129
[27-May-2012 07:38:52] PHP Warning: strstr() [<a href='function.strstr'>function.strstr</a>]: Empty delimiter in /home7/woodvil1/public_html/includes/classes/bmz_image_handler.class.php on line 129
[27-May-2012 07:38:52] PHP Warning: strstr() [<a href='function.strstr'>function.strstr</a>]: Empty delimiter in /home7/woodvil1/public_html/includes/classes/bmz_image_handler.class.php on line 129
[27-May-2012 07:38:52] PHP Warning: strstr() [<a href='function.strstr'>function.strstr</a>]: Empty delimiter in /home7/woodvil1/public_html/includes/classes/bmz_image_handler.class.php on line 129"
I ready in a different thread this could be a result of the php handler used, can you provide me any insight? my url is www woodvilleusa com
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.