Re: Image Handler 5 (for v1.5.5) Support Thread
Take a look at the additional information section at https://www.zen-cart.com/content.php?100
A lot of folks miss this basic thing in Zen Cart. You can add folders for anything in the images directory but, if you have too many files that have similar beginnings, Zen Cart will assume they are all part of one item.
Re: Image Handler 5 (for v1.5.5) Support Thread
Thank you dbltoe.... this is incredibly bad news. I don't believe I had a problem with my last version of zc.... at least I didn't see it but I have THOUSANDS of image files written in word form... all in the /images directory and on some items have many similar items that could have the same beginning words and could have the same sentence up to the sku identifier. :(
Re: Image Handler 5 (for v1.5.5) Support Thread
I guess I am going to have to rename ALL of my images to begin with the product id then the name.... do you think that would be safe?
Re: Image Handler 5 (for v1.5.5) Support Thread
Solution:
You have two options:
a) rename your images so they don't share a common filename. Right now since you have one product with "abc.jpg" as the name, and another product with "abcde.jpg" as the name, both images will show for the "abc.jpg" product, because "abc" is common to both, and "abc" is the full filename of the main image of one of the products.
This is explained further in the Additional Images FAQ.
b) or turn off all extra-image functionality via Admin->Catalog->Product Types->Product General->Edit Layout->Show Additional Images = 0
Ah ha! I have an alternative!!!!
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Right now since you have one product with "abc.jpg" as the name, and another product with "abcde.jpg" as the name, both images will show for the "abc.jpg" product,
I don't find this behaviour, nor the converse. indeed it would be extremely restrictive if it were so.
If product1 defined image is abc.jpg, anything named abc_WHATEVER.jpg (using an underscore as the separator) will also be shown for product1.
abcWHATEVER.jpg does not get shown for product1.
ab.jpg does not get shown for product1 either.
That is what I find.
Re: Image Handler 5 (for v1.5.5) Support Thread
The behaviour is different depending if you use subdirectories.
I always use subdirectories as the underscore "_" separator (only) applies
The more restrictive behaviour applies if your images are NOT in subdirectories
See How do I add multiple images to a product?
A few lines below "Additional information"
Re: Image Handler 5 (for v1.5.5) Support Thread
IF you need to rename images, get spacetornado renamer. Great tool for fixing image names, case, spelling, etc.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
@earmsby, could you provide me with a link to one of those "pretty large" images so that I can test myself? If you don't want to post a link publically, send me a PM.
I re-did my test products using additional images that were smaller in size and now it's working fine.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Right now since you have one product with "abc.jpg" as the name, and another product with "abcde.jpg" as the name, both images will show for the "abc.jpg" product, because "abc" is common to both, and "abc" is the full filename of the main image of one of the products.
Quote:
The more restrictive behaviour applies if your images are NOT in subdirectories
True! I have never come across this, since I would never put anything in the images root, but keep 18000 images in subdirectories.
Renamer is also a great renaming tool.
Re: Image Handler 5 (for v1.5.5) Support Thread
I've just submitted v1.5.3 to the Zen Cart plugins for review and will post back once it's available for download. This release contains changes associated with the following GitHub issues:
#151: Correct 'always present' message in admin after upgrade.
#153: zc156: Previous/next product navigation section 'overlaps'.
#156: PSR-2 refactoring
#158: bmz_cache image not updated when 'base' image is updated.