Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Sticky

Views: 159,059

Results 61 to 80 of 765
26 Mar 2018, 1:39 PM
#61
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Image Handler 5 (for v1.5.5 - v1.5.8) 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.

26 Mar 2018, 1:52 PM
#62
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Brent, check your Private Messages ...

26 Mar 2018, 7:28 PM
#63
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) 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.

29 May 2018, 2:11 PM
#64
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) 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.

1 Jun 2018, 12:22 PM
#65
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Image Handler 5, v5.1.0, is now available for download from the Zen Cart plugins.

7 Jun 2018, 4:45 PM
#66
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) 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:

$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

7 Jun 2018, 7:46 PM
#67
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) 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_Image-Handler/blob/master/pages/image_handler.md.

7 Jun 2018, 9:19 PM
#68
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

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.

8 Jun 2018, 12:02 PM
#69
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

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_Image-Handler/blob/master/pages/image_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.

20 Jun 2018, 1:53 PM
#70
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) 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.

25 Jun 2018, 8:18 PM
#71
creyesx6 avatar

creyesx6

Inactive

Join Date:
Dec 2010
Location:
U.S. State of Texas
Posts:
76
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I am having trouble with the product info (Medium) imaging enlarging to a large image. After clicking, it does not enlarge, it is set to hover. I have a feeling it is something simple, any suggestion? Thank you!

25 Jun 2018, 9:18 PM
#72
creyesx6 avatar

creyesx6

Inactive

Join Date:
Dec 2010
Location:
U.S. State of Texas
Posts:
76
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

creyesx6:

I am having trouble with the product info (Medium) imaging enlarging to a large image. After clicking, it does not enlarge, it is set to hover. I have a feeling it is something simple, any suggestion? Thank you!

I apologize, I should have included more information: I am using 1.5.5F, site url: bellafurnitureandmattress.com, I have not loaded any medium or large images. I am using IH with Alto Template. Using Ultimate URL's, Dynamic Price Updater, Wishlist. I am not using Lightbox

26 Jun 2018, 12:21 AM
#73
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

creyesx6:

I apologize, I should have included more information: I am using 1.5.5F, site url: bellafurnitureandmattress.com, I have not loaded any medium or large images. I am using IH with Alto Template. Using Ultimate URL's, Dynamic Price Updater, Wishlist. I am not using Lightbox

Newest release of Alto uses old version IH4.3. I found zoom hover mucked things up back when I used that version of IH. I turned it off and removed the jscript_imagehover file.

26 Jun 2018, 11:16 AM
#74
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

lat9:

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.
v5.1.1 is now available for download from the Zen Cart plugins.

26 Jun 2018, 11:17 AM
#75
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

creyesx6:

I apologize, I should have included more information: I am using 1.5.5F, site url: bellafurnitureandmattress.com, I have not loaded any medium or large images. I am using IH with Alto Template. Using Ultimate URL's, Dynamic Price Updater, Wishlist. I am not using Lightbox

soxophoneplayer:

Newest release of Alto uses old version IH4.3. I found zoom hover mucked things up back when I used that version of IH. I turned it off and removed the jscript_imagehover file.
Right, and this support-thread is associated with Image-Handler 5, not 4.

26 Jun 2018, 5:37 PM
#76
creyesx6 avatar

creyesx6

Inactive

Join Date:
Dec 2010
Location:
U.S. State of Texas
Posts:
76
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

soxophoneplayer:

Newest release of Alto uses old version IH4.3. I found zoom hover mucked things up back when I used that version of IH. I turned it off and removed the jscript_imagehover file.

Great, Thank you very much for your help !!

26 Jun 2018, 5:38 PM
#77
creyesx6 avatar

creyesx6

Inactive

Join Date:
Dec 2010
Location:
U.S. State of Texas
Posts:
76
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

lat9:

v5.1.1 is now available for download from the Zen Cart plugins.

Thanks, I did use the update, but I am assuming the jscript_hoverfile is still there. Thank you!!

26 Jun 2018, 8:06 PM
#78
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Yes, that jscript_imagehover file is still there ... although updated to (hopefully) correct the interoperability issue.

27 Jun 2018, 5:13 AM
#79
creyesx6 avatar

creyesx6

Inactive

Join Date:
Dec 2010
Location:
U.S. State of Texas
Posts:
76
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

lat9:

Yes, that jscript_imagehover file is still there ... although updated to (hopefully) correct the interoperability issue.

Yes, so I am nearly there. The large images are working exactly as needed. However after updating the catalog I found that products with multiple images are not displaying on the product info page. I just have a blank image. I am using IH 5 with 1.5.5+.

Here is a url to show what is happening with multiple images: http://bellafurnitureandmattress.com/sectionals-c-2_3_4/denton-p-14.html

I noticed when going to the Image Manager to check this product that the medium image has a - only without an image. Images were added via FTP and Easy Populate 4.

Thanks for the plugin and help!

27 Jun 2018, 11:55 AM
#80
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,102
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

creyesx6:

Yes, so I am nearly there. The large images are working exactly as needed. However after updating the catalog I found that products with multiple images are not displaying on the product info page. I just have a blank image. I am using IH 5 with 1.5.5+.

Here is a url to show what is happening with multiple images: http://bellafurnitureandmattress.com/sectionals-c-2_3_4/denton-p-14.html

I noticed when going to the Image Manager to check this product that the medium image has a - only without an image. Images were added via FTP and Easy Populate 4.

Thanks for the plugin and help!
There's apparently something awry with the merge/update that you made for the /includes/modules/alto/additional_images.php, since no images are being populated. Remember that the Alto theme started out with IH-4, which needs to be fully replaced for IH-5 to operate properly.