If this is your first visit, check our documentation. To post, register or login.
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

Started by lat9 on 15 Oct 2017, 3:54 PM · Views: 160,515

Results 461 to 480 of 774
28 Jun 2021, 1:31 AM
#461
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

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

mc12345678:

A reason for a _MED or _LRG image is to actually provide a different image (perhaps a different perspective or content) based on what type of image is called on the catalog side. Now I may these days be wrong about the "folder" portion, but the concept remains the same that particular images are loaded for particular types of display, this plugin takes those pictures and compresses them to the desired resolution and to a filename that is reproducible to find.

I just downloaded version 5.1.11 and at least the observer uses whatever is defined as IMAGE_SUFFIX_MEDIUM and IMAGE_SUFFIX_LARGE which normally corresponds to _MED and _LRG suffix names.

The debug files I am getting right now are from my Fluorspar template files. But the memory allocation errors I was getting at one point were from IH. Food for thought. I just reprocessing and reloading all my images. Sucks but its got to be done.

31 Jul 2021, 7:17 AM
#462
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

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

Love Image Handler, thank you for the plugin :)
Fresh install of Zen cart 1.5.7c on php 7.4.21, and IH5.1.11, Colorbox.
I have a new site which I would like all my small and medium images to be clear, IH doesn't seem to do that?!
I've changed image compression quality to 100, still not the clarity I want.
My large images are great quality, before installing IH5, medium images were crisp clear, I know its because its loading large files which takes longer to load.
Please is there any other setting or php editing to allow the small and medium images to be clearer?
I already have them all set to 250 height and 0 width, for the small and medium images alike, such as front page product images and product info page as well.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

31 Jul 2021, 12:27 PM
#463
lat9 avatar

lat9

Administrator

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

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

rlexyd:

Love Image Handler, thank you for the plugin :)
Fresh install of Zen cart 1.5.7c on php 7.4.21, and IH5.1.11, Colorbox.
I have a new site which I would like all my small and medium images to be clear, IH doesn't seem to do that?!
I've changed image compression quality to 100, still not the clarity I want.
My large images are great quality, before installing IH5, medium images were crisp clear, I know its because its loading large files which takes longer to load.
Please is there any other setting or php editing to allow the small and medium images to be clearer?
I already have them all set to 250 height and 0 width, for the small and medium images alike, such as front page product images and product info page as well.
What type of image is being used? I'll note, based on comments received in this support thread, that IH does the best with .jpg files.

Why are you setting the images to a 0 width?

31 Jul 2021, 1:43 PM
#464
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

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

Thank you for responding.
I use .jpg.
Also I set them to 0 as I read that several places and thought it might help.
https://docs.zen-cart.com/user/troubleshooting/images_distorted/

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

31 Jul 2021, 2:06 PM
#465
lat9 avatar

lat9

Administrator

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

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

rlexyd:

Thank you for responding.
I use .jpg.
Also I set them to 0 as I read that several places and thought it might help.
https://docs.zen-cart.com/user/troubleshooting/images_distorted/
Thanks for the pointer! I'll note that any image-compression, i.e. reducing the large images to their medium/small versions, is going to result in some form of clarity loss.

2 Aug 2021, 5:01 AM
#466
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

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

That is true, but I thought turning the compression quality to 100 would help fix that a fair bit.
I've done a batch resize of my images to 400 and made the product info page image, new product images and featured products images on the front page set to 250 in configuration and set IH resize to No.
It's slowing down the site for sure but the photos are way more clearer, wish there was a fix.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

8 Aug 2021, 11:04 PM
#467
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

157c
fuzztrip.com

Using Chrome/Microsoft Edge/IE:

If you go to https://fuzztrip.com/lp-c-1/vesta-odyssey-vinyl-lp-clear-p-139.html and click on the extra image it opens and resizes according to the settings I have in config-images- IH large images maximum width 750, IH large images maximum height 550, although it aligns left in Chrome. This image was already in place before installing IH5. The same is true with other images added before IH5 installation.

But if you go to https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html the images do not resize, but display at full size. These images were uploaded after IH5 installation.

Using Firefox:

The same images render as above, the first link resized to the proper dimensions, the second does not resize. But they also have the added issue of loading into a tiny box with scrollbars that has to be resized to view.

I have uninstalled and reinstalled IH5, each file one by one, but no luck. I have also deleted and re-created the product listing https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html in a different category but no change.

Thanks for any help!

9 Aug 2021, 11:07 AM
#468
lat9 avatar

lat9

Administrator

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

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

Fuzztrip:

157c
fuzztrip.com

Using Chrome/Microsoft Edge/IE:

If you go to https://fuzztrip.com/lp-c-1/vesta-odyssey-vinyl-lp-clear-p-139.html and click on the extra image it opens and resizes according to the settings I have in config-images- IH large images maximum width 750, IH large images maximum height 550, although it aligns left in Chrome. This image was already in place before installing IH5. The same is true with other images added before IH5 installation.

But if you go to https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html the images do not resize, but display at full size. These images were uploaded after IH5 installation.

Using Firefox:

The same images render as above, the first link resized to the proper dimensions, the second does not resize. But they also have the added issue of loading into a tiny box with scrollbars that has to be resized to view.

I have uninstalled and reinstalled IH5, each file one by one, but no luck. I have also deleted and re-created the product listing https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html in a different category but no change.

Thanks for any help!
When you installed IH-5, did you also include the changes in the /includes/modules/YOUR_TEMPLATE sub-directory for your clone of the responsive_classic template?

9 Aug 2021, 9:20 PM
#469
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

lat9:

When you installed IH-5, did you also include the changes in the /includes/modules/YOUR_TEMPLATE sub-directory for your clone of the responsive_classic template?

additional_images.php and main_product_image.php? I did and I just did again to be sure but no change.

9 Aug 2021, 9:54 PM
#470
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

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

Hey Fuzztrip, I like the social media share green button on your site :)
Did someone customize that for you or is it from some plugin on Zen Cart?
Thanks.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

9 Aug 2021, 11:11 PM
#471
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

rlexyd:

Hey Fuzztrip, I like the social media share green button on your site :)
Did someone customize that for you or is it from some plugin on Zen Cart?
Thanks.

You can get it here: https://www.addthis.com

9 Aug 2021, 11:21 PM
#472
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

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

Thanks, appreciate that.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

3 Sep 2021, 4:03 PM
#473
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

Fuzztrip:

157c
fuzztrip.com

Using Chrome/Microsoft Edge/IE:

If you go to https://fuzztrip.com/lp-c-1/vesta-odyssey-vinyl-lp-clear-p-139.html and click on the extra image it opens and resizes according to the settings I have in config-images- IH large images maximum width 750, IH large images maximum height 550, although it aligns left in Chrome. This image was already in place before installing IH5. The same is true with other images added before IH5 installation.

But if you go to https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html the images do not resize, but display at full size. These images were uploaded after IH5 installation.

Using Firefox:

The same images render as above, the first link resized to the proper dimensions, the second does not resize. But they also have the added issue of loading into a tiny box with scrollbars that has to be resized to view.

I have uninstalled and reinstalled IH5, each file one by one, but no luck. I have also deleted and re-created the product listing https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html in a different category but no change.

Thanks for any help!

I never was able to figure this out, and the problem remains. I have learned that this is only happening to jpeg files. Most of my older images are in png and they are resizing the way they should. I have been slowly transferring over to jpeg to reduce file size and they seem to be the only images not resizing.

When I look at them in admin/tools/image handler, they are all the same size and there is a medium image that does not exist with any of the png images

Attachment 19709

The above page is here https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html?zenid=162b1a460b2cf2f16f54e77ff8099e25

3 Sep 2021, 5:08 PM
#474
lat9 avatar

lat9

Administrator

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

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

Fuzztrip:

I never was able to figure this out, and the problem remains. I have learned that this is only happening to jpeg files. Most of my older images are in png and they are resizing the way they should. I have been slowly transferring over to jpeg to reduce file size and they seem to be the only images not resizing.

When I look at them in admin/tools/image handler, they are all the same size and there is a medium image that does not exist with any of the png images

Attachment 19709

The above page is here https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html?zenid=162b1a460b2cf2f16f54e77ff8099e25
I'm unable to reproduce your issue on a test site running zc157c with the built-in responsive_classic template.

You can try a couple of things to gather some additional information. First, navigate to the product page that's not displaying correctly and:

  1. Ensure that debug-logging is enabled on the storefront. Go to Configuration :: Logging and set Report All Errors (Storefront) to *IgnoreDups *and Backtrace on notices to true.

  2. Edit /includes/classes/bmz_image_handler_class.php, changing the definition for IH_DEBUG_STOREFRONT from 'false' to 'true' (yes, those single-quotes are necessary). That'll create a file /logs/ih_debug-yyyyddmm-hhmmss.log for each and every storefront pageload.

  3. Refresh the product-information page, then undo the edit made in the previous step.

  4. Check the /logs directory. Are there any myDEBUG*.log files generated on/around the time of the refresh? If so, post the contents.

  5. Zip-up (it might be a large file) the ih_debug*.log file generated and post that back, too.

Edit: Are you sure that IH is enabled? Check Configuration :: Images :: IH Resize Images, it should be set to yes.

4 Sep 2021, 11:41 PM
#475
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

Fuzztrip:

157c
fuzztrip.com

Using Chrome/Microsoft Edge/IE:

If you go to https://fuzztrip.com/lp-c-1/vesta-odyssey-vinyl-lp-clear-p-139.html and click on the extra image it opens and resizes according to the settings I have in config-images- IH large images maximum width 750, IH large images maximum height 550, although it aligns left in Chrome. This image was already in place before installing IH5. The same is true with other images added before IH5 installation.

But if you go to https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html the images do not resize, but display at full size. These images were uploaded after IH5 installation.

Using Firefox:

The same images render as above, the first link resized to the proper dimensions, the second does not resize. But they also have the added issue of loading into a tiny box with scrollbars that has to be resized to view.

I have uninstalled and reinstalled IH5, each file one by one, but no luck. I have also deleted and re-created the product listing https://fuzztrip.com/box-set-c-9/sula-bassana-the-box-vinyl-6lp-box-set-colored-vinyl-p-241.html in a different category but no change.

Thanks for any help!

lat9:

I'm unable to reproduce your issue on a test site running zc157c with the built-in responsive_classic template.

You can try a couple of things to gather some additional information. First, navigate to the product page that's not displaying correctly and:

  1. Ensure that debug-logging is enabled on the storefront. Go to Configuration :: Logging and set Report All Errors (Storefront) to *IgnoreDups *and Backtrace on notices to true.

  2. Edit /includes/classes/bmz_image_handler_class.php, changing the definition for IH_DEBUG_STOREFRONT from 'false' to 'true' (yes, those single-quotes are necessary). That'll create a file /logs/ih_debug-yyyyddmm-hhmmss.log for each and every storefront pageload.

  3. Refresh the product-information page, then undo the edit made in the previous step.

  4. Check the /logs directory. Are there any myDEBUG*.log files generated on/around the time of the refresh? If so, post the contents.

  5. Zip-up (it might be a large file) the ih_debug*.log file generated and post that back, too.

Edit: Are you sure that IH is enabled? Check Configuration :: Images :: IH Resize Images, it should be set to yes.

While I can't speak to all aspects of the above post, the firefox issue is reproducible as posted elsewhere in the forum. The following post may correct the above described issue at least from the popped up window original sizing issue:
https://www.zen-cart.com/showthread.php?227459-pop-up-image-window-doesn-t-resize-in-Firefox-desktop-version&p=1375133#post1375133

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Sep 2021, 12:43 PM
#476
lat9 avatar

lat9

Administrator

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

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

Thanks for that, @mc12345678!

5 Sep 2021, 4:28 PM
#477
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

lat9:

I'm unable to reproduce your issue on a test site running zc157c with the built-in responsive_classic template.

You can try a couple of things to gather some additional information. First, navigate to the product page that's not displaying correctly and:

  1. Ensure that debug-logging is enabled on the storefront. Go to Configuration :: Logging and set Report All Errors (Storefront) to *IgnoreDups *and Backtrace on notices to true.

  2. Edit /includes/classes/bmz_image_handler_class.php, changing the definition for IH_DEBUG_STOREFRONT from 'false' to 'true' (yes, those single-quotes are necessary). That'll create a file /logs/ih_debug-yyyyddmm-hhmmss.log for each and every storefront pageload.

  3. Refresh the product-information page, then undo the edit made in the previous step.

  4. Check the /logs directory. Are there any myDEBUG*.log files generated on/around the time of the refresh? If so, post the contents.

  5. Zip-up (it might be a large file) the ih_debug*.log file generated and post that back, too.

Edit: Are you sure that IH is enabled? Check Configuration :: Images :: IH Resize Images, it should be set to yes.

Thank you for all the assistance, it turns out the image files are corrupt. They are jpegs but image editors are trying to open them as gifs. I took new ones and uploaded them and it works as it should. :smile:

5 Sep 2021, 4:29 PM
#478
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

mc12345678:

While I can't speak to all aspects of the above post, the firefox issue is reproducible as posted elsewhere in the forum. The following post may correct the above described issue at least from the popped up window original sizing issue:
https://www.zen-cart.com/showthread.php?227459-pop-up-image-window-doesn-t-resize-in-Firefox-desktop-version&p=1375133#post1375133

Thank you!

19 Nov 2021, 3:43 PM
#479
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

157c
fuzztrip.com

Using the hover feature, images are opening toward the top of the page, cutting them off. I'd like to get them centered, or to the right of the image I am hovering on. Thanks!

Attachment 19820

19 Nov 2021, 4:10 PM
#480
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

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

Fuzztrip:

157c
fuzztrip.com

Using the hover feature, images are opening toward the top of the page, cutting them off. I'd like to get them centered, or to the right of the image I am hovering on. Thanks!

Attachment 19820
.
Link to specific page.
https://fuzztrip.com/lp-c-1/the-lucid-furs-damn-that-was-easy-vinyl-lp-red-p-255.html