Re: Image Handler 5 (for v1.5.5) Support Thread
Setting it to yes breaks the image links. As soon as I do this the image url changes to say /bmz_cache/c/testjpg.image.100x80.jpg but if you check the folder the image is not there. If I then go to edit the image details for that product in IH Admin the script creates the image and all is OK.
Somehow only the Admin side is creating the cache but the catalogue side doesn't.
The other strange thing is if I then go to the additional images tab (I'm running TPP) the thumbnail image is broken but if I click to view it will open the larger image but in the original location. This is with IH enabled.
In my test store I have the same setup and all is OK.
I can show you it all in action but as it is a live store I can't leave IH enabled at the moment.
Re: Image Handler 5 (for v1.5.5) Support Thread
Brent, check your Private Messages ...
Re: Image Handler 5 (for v1.5.5) Support Thread
That was a tricky one (thanks to @Brent for providing me access). Turns out that the live store's DIR_FS_CATALOG was pointing to his test-site's file-system directory and correcting that fixed the issue.
Why it is that only Image Handler was affected is a puzzle.
Re: Image Handler 5 (for v1.5.5) Support Thread
I've just submitted Image Handler 5, v5.1.0, to the Plugins for review. Once approved, that download will be available here: https://www.zen-cart.com/downloads.php?do=file&id=2169
This release contains changes associated with the following GitHub issues; see https://github.com/divavocals/zen_Image-Handler/ for additional information:
#64: Invalid inputs to imagepng results in bloated output files.
#66: Move admin "About/Help" content to a separate language file.
#70: Split admin processing into separate processing files, enables different permissions.
#71: Clarify the term "default", used in the admin processing and the readme.
#73: Use PHP 'pathinfo' to determine file extensions.
#75: Correct debug error on admin tools menu.
#78: Correct install/upgrade processing, since IH4's uninstall doesn't remove the IH_VERSION constant.
#79: Remove "Scan for old IH 0.x and 1.0 'original' images"
#80: Clean up PHP Notices
#83: Add "View Configuration" admin-menu item.
#86: Restructure to improve code readability.
#88: Medium/Large: Will find/use alternate image extensions if primary is not found
#89: Remove mixed-case file-extension handling.
#90: Add debug/trace capability.
#97: Additional checks for Fual Slimbox integration.
#98: Update additional_images.php notifier to that used in Zen Cart 1.5.6.
#100: Globalize use of $zco_notifier to enable plugin integrations.
#101: Correct incorrect warning about background definitions.
#102: Correct PHP Warning when an image is missing.
#106: Additional restructuring and debug.
#109: Note admin activity when `bmz_cache` is cleared.
#110: Migrate the majority of the readme to markdown.
#117: Large image width/height constants do not exist.
#118: ColorBox observer needs to globalize $template_dir.
#126: Correct PHP Notice on doubly-defined constants.
Re: Image Handler 5 (for v1.5.5) Support Thread
Image Handler 5, v5.1.0, is now available for download from the Zen Cart plugins.
Re: Image Handler 5 (for v1.5.5) Support Thread
zc1.5.5f test store with Bootstrap Template, CanadaPost, OPC, IH5.1, NO colorbox or other;
Additional Images - on a sample product I can add one additional image to the product. The resulting added image, in the IH admin, has only a delete option button, and not an 'add' button. If I go to the original image on that screen I can add an additional image, but it replaces the additional image previously loaded. ie only one additional image allowed.
On my IH5 install I tried method 1, then in case Bootstrap was considered as having large popup, I tried method 2. With the your temp/modules/additional_images file I tried using full IH5 file, and full Bootstrap mod file, and merged version of the two. In the merged version I tried merging over ONLY the 'Globals' term but not the one different placement of the line #147 in IH5:
Code:
$link_parameters = 'class="additionalImages centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"';
and I also tried swapping that line's location from where it appears in the Bootstrap file.
All of the above yield the same result. Is there another file I should be looking at?
IH5 is turned on and Additional Images is set to 3 per row. I didn't uninstall/re-install IH5 after each attempted variation.
Thanks
Re: Image Handler 5 (for v1.5.5) Support Thread
IH-5, v5.1.0 and later, has some major User-Interface (UI) changes.
If you want to add an image to a product using the Image Handler 'tool', you need to first select the 'primary' image ... that's where the 'add' becomes available. I've got documentation on the updated interface available on the GitHub site: https://github.com/DivaVocals/zen_Im...age_handler.md.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
If I go to the original image on that screen I can add an additional image, but it replaces the additional image previously loaded. ie only one additional image allowed.
I can confirm this behavior of it only allowing one additional image.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
IH-5, v5.1.0 and later, has some major User-Interface (UI) changes.
If you want to add an image to a product using the Image Handler 'tool', you need to first select the 'primary' image ... that's where the 'add' becomes available. I've got documentation on the updated interface available on the GitHub site:
https://github.com/DivaVocals/zen_Im...age_handler.md.
Selecting the primary, then add does allow adding one additional image. But on the additional image there is no add to put in further additional images. If you go back to the primary and select add it replaces the initial additional image, still leaving only one.
I've been fiddling with this in Bootstrap template, but also tried in test version of my livesite which is zc 1.5.5f and Responsive Classic clone, with IH5.0. In IH5.0 multiple additional images work and with each image added the option to add a further image is given. When I update to IH5.1 (after backing up) my existing additional images disappeared. And the behaviour from the bootstrap test site was replicated. When re-installed site from backup the additional images reappeared (and message in admin panel that IH had been successfully updated from 5.1 to 5.0 ;-))
Also, if it makes any difference, my WAMP is set at php7.1.13 and my desktop is Windows 10, browser Firefox.
I have enabled IH debug.
Re: Image Handler 5 (for v1.5.5) Support Thread
I've just submitted v5.1.1 to the Zen Cart plugins for review.
This release contains changes associated with the following GitHub issues:
#129: Invalid cached images' location when DIR_FS_CATALOG is set to /.
#130: Can't add more than one additional image.
#134: Debug-log generated on initial entry.