Learning Fast.
Eden Craft Supplies
I have half a dozen images loaded for a product and they work nicely. But I have decided I want to reorder the images so that a different image is the main image. Is that possible with image handler or do I have to delete them all and start over?
Thanks,
Christy
G'day,
We have one CMS being used for the main part of our web site (https://www.scubadoctor.com.au) and Zen Cart for the online shop (https://www.scubadoctor.com.au/diveshop/).
Within the other CMS I have a PHP script that highlights five randomly chosen Specials on each page in the left column. Currently this script gets the main image for each product from Zen Cart and displays it small. So worst case we are loading five 1000 x 1000 images on each page to show them as thumbnails. That is a waste of bandwidth and slows up page loading just a bit.
How would I be able to find out what the Image Handler cached small filename is for a given product, or product file image?
With some code to do this we'd be able to improve web site efficiency.
Best regards, Lloyd Borrett.
Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42
I upgraded to Zen Cart Version 1.5.4 a few months ago. I am using Image Handler 4.3.2, which I was using with the older version of Zen Cart, and it worked great. When I did the upgrade, everything was working correctly with the Alysa Rounded template. This week I upgraded to a responsive template, Avonlee Contempo Responsive. I went to upload images with Image Handler 4, and everything worked as it always does. However, when I went to the product, it only shows the main image and not the others I added. I'm not sure why the additional images are no longer showing. I went through the troubleshooting checklist at the top of this thread, but I didn't see any issues when I checked everything. I loaded up the old Alysa Rounded template, and it works. Does anyone have any idea what I could be doing wrong? Does this mean I need to ask the creator of the template for Avonlee Contempo Responsive? Please let me know your thoughts and thanks!
Prossibly.. but the MOST likely answer is that you have missed merging an override file that has IH4 required changes into your new template.. I would do a comparison with template overrides from your old template to see what you didn't bring over to your new template..
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.
Had similar experience. In my case I installed the IH2 includes/modules/additional_images instead of merging it with my includes/modules/my responsive template/additional_images. Merging with the latter also kept the colorbox functioning properly (which has been merged with orginal file as part of the template).This was instructed in the MISC tab of IH readme but I misread and put the IH fi;e in modules/ instead of moduls/my template/
Can someone tell me the DB tables the IH uses please, Im currently trying to intergrate my ZC store into my SAP system and would also like the aditional images to populate from my database, I can't seem to figger out how IH knows the connection for the item id number and the original file names of the aditional images stored on the server.
Thanks
May not have made as much sense then as it will shortly, but it has been stated multiple times that IH effectively uses the same image information as the default ZC store, so it uses the products table with the products_image information... All "additional images" are named in the applicable images/PATH folder as relates to the way ZC processes/handles images... So to get your additional images really should be looking at additional_images.php related code, not so much IH as far as obtaining the path(es) to the original file(s)... (the modified version as made available by IH, that's a different story and somewhat depends on the version being used, etc...)
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I understand how the ZC additonal images works ie productone_1 productone_2 etc but that uses the images names to reference the images to the products, the way my site is we have additional images added via IH4 which have a totally different and unrelated name for example, we might have a ford focus for sale with the photo focus_1.jpg but also have a photo of a technical spec (generic to all model cars) also added with the name techspec.jpg, so in normal terms ZC wouldn't make the connection... but IH4 does.
I was assuming that IH4 had a table in the DB somewhere that had additonal images defined, ie ID1, techspc.jpg, techford1.jpg etc am i assuming wrong and it is not possible for me to find the defining link between the product id and the additonal image file names?
I haven't checked out the github version to see if/how it assgns additional image names differently than it did in the past, but through the versions previously, such a differently named file would be saved with the nme of the original file and either the automatic extension, or the one of choice to still provide additionl image generation.
If you are using the github version and it offers such new naming convention then for the moment I'm stepping out on the discussion.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks