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 421 to 440 of 774
25 Mar 2021, 8:24 PM
#421
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

157c
display_logs-2.2
EasyPopulate4-4.0.37.11
reCaptcha v3.4
keep_cart1.0
google_analytics-bada883
one-page-checkout-2.3.7
remember-me-2.0.1
sitemapXML
usu-3.0.8
Image-Handler-5.1.10

Having a strange problem...... the image handler 5 appears to be working fine on my old updated site. But the site that only has fresh database and code it is not working on. I have uninstalled it and reinstalled it.... still cannot tell that it is working. I only have 5 products on the new site and when I look at them in Image Handler they are all the same size (no renaming when I look at saving them).... but settings are different in the config so they should be different sizes. No log files are being made.... no water marks being shown.... but old site is fine.

25 Mar 2021, 9:01 PM
#422
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,817
Plugin Contributions:
24

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

shrimp-gumbo-mmmhhh:

157c
display_logs-2.2
EasyPopulate4-4.0.37.11
reCaptcha v3.4
keep_cart1.0
google_analytics-bada883
one-page-checkout-2.3.7
remember-me-2.0.1
sitemapXML
usu-3.0.8
Image-Handler-5.1.10

Having a strange problem...... the image handler 5 appears to be working fine on my old updated site. But the site that only has fresh database and code it is not working on. I have uninstalled it and reinstalled it.... still cannot tell that it is working. I only have 5 products on the new site and when I look at them in Image Handler they are all the same size (no renaming when I look at saving them).... but settings are different in the config so they should be different sizes. No log files are being made.... no water marks being shown.... but old site is fine.

Possibly a stupid question, but sometimes it's the simplest things that are overseen... Did you enable it under Configuration->Images->IH resize images?

My site - Pro ZC Help
My portfolio | My plugins

26 Mar 2021, 1:54 AM
#423
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

balihr:

Possibly a stupid question, but sometimes it's the simplest things that are overseen... Did you enable it under Configuration->Images->IH resize images?

Thank you so much! That was it.... so tired today.

28 Mar 2021, 12:47 PM
#424
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

I've just submitted v5.1.11 of IH-5 for the Zen Cart moderators' review and will post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#219: zc158, No image preview for disabled products; the storefront popup_image doesn't display when a product is disabled.
#220: Correct 'file not found' on admin sidebox display.
#221: Changes to support PHP 8.1 and zc158 interoperation.

29 Mar 2021, 5:14 PM
#425
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

lat9:

I've just submitted v5.1.11 of IH-5 for the Zen Cart moderators' review and will post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#219: zc158, No image preview for disabled products; the storefront popup_image doesn't display when a product is disabled.
#220: Correct 'file not found' on admin sidebox display.
#221: Changes to support PHP 8.1 and zc158 interoperation.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2169

14 May 2021, 1:17 AM
#426
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

157c
display_logs-2.2
EasyPopulate4-4.0.37.11
reCaptcha v3.4
keep_cart1.0
google_analytics-bada883
one-page-checkout-2.3.7
remember-me-2.0.1
sitemapXML
usu-3.0.8
****Image-Handler-5.1.10

NEW Strange problem.... when I do a search on my site for "cross heart" or "cross and heart" I am getting the message "This page isn't working.... mywebsite is currently unable to handle this request. HTTP ERROR 500

However, when I put in "cross with heart", "cross not heart", "cross + heart", "cross or heart" it comes up just fine. I am just wondering how many other combinations of keywords is this error happening with?

Here is the debug information:

Request URI: /index.php?main_page=advanced_search_result&search_in_description=1&keyword=heart+cross

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 24576 bytes) in /home/mywebsite/public_html/includes/classes/bmz_image_handler.class.php on line 870

I had just upgraded and rebooted the server and cleaned out the log files... so this is a fresh error message on a fresh system newly started. I had recently moved over some images that could have over 3000x3000pixels, but most files are 1MB or smaller.

14 May 2021, 1:31 AM
#427
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

Okay, I have found one word that will cause the site to go down. :( I am seeing spiders crawling now and they are hitting some pages that are getting put down....but I go to the page and I can see it just fine...

"h cross" "he cross" will work but "hea cross" dies.... :(

14 May 2021, 1:36 AM
#428
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

If I turn the mod off everything appears to work.... IH resize images = no

14 May 2021, 11:39 AM
#429
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

Just prior to line 870 of /incudes/classes/bmz_image_handler.class.php, add the following line to log which image file is causing the hiccup:

trigger_error($src_name, E_USER_WARNING);
14 May 2021, 7:20 PM
#430
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

lat9:

Just prior to line 870 of /incudes/classes/bmz_image_handler.class.php, add the following line to log which image file is causing the hiccup:

trigger_error($src_name, E_USER_WARNING);


Thank you!  Will do!
14 May 2021, 7:34 PM
#431
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

shrimp-gumbo-mmmhhh:

Thank you! Will do!
I know I have more than one image like this but.. here are characteristics that people might want to be keep an eye out for when putting new pictures on.... The image that caused one of the problems was 5121x5664 and was 2.62MB.

14 May 2021, 9:21 PM
#432
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

shrimp-gumbo-mmmhhh:

I know I have more than one image like this but.. here are characteristics that people might want to be keep an eye out for when putting new pictures on.... The image that caused one of the problems was 5121x5664 and was 2.62MB.

Okay, a file with 379kb and 1062 x 1300 600dpi is erroring.... guess I will work on shrinking futher.

14 May 2021, 9:31 PM
#433
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

shrimp-gumbo-mmmhhh:

Okay, a file with 379kb and 1062 x 1300 600dpi is erroring.... guess I will work on shrinking futher.
I had found in use of this plugin even in older versions that generally speaking there would be a problem with an image having a resolut greater than 1024 in any direction. Not sure if that "limit" changed between image types though as I often/mostly use jpg type files.

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

14 May 2021, 9:36 PM
#434
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

shrimp-gumbo-mmmhhh:

Okay, a file with 379kb and 1062 x 1300 600dpi is erroring.... guess I will work on shrinking futher.

The impression I had of this module was that new pictures were made one time and then the mod pictures were used unless an item was updated.... but this error implies that the pictures are made over and over again or is something else the problem? Thank you! Do I have some setting set wrong for this to be happening?

14 May 2021, 9:37 PM
#435
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

mc12345678:

I had found in use of this plugin even in older versions that generally speaking there would be a problem with an image having a resolut greater than 1024 in any direction. Not sure if that "limit" changed between image types though as I often/mostly use jpg type files.

okay, thank you!

21 May 2021, 3:46 AM
#436
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

Okay, new problem. I don't know if it is related to the above problem or not. 2 Days ago I noticed that speed tests on my website were failing. I took a look at the front page and noticed some of the pictures were not showing up. These are my category pictures which tend to be very small. I noticed that the image addresses were very strange.

bmz_cache/s/xgiant-football-for-over-night-camping-camp-fire-inclober-dgefsff-dslkjjpg.image.136x109.jpg**.pagespeed.ic.oCtxT2VV6L.webp**

The link would work if it was this: bmz_cache/s/giant-football-for-over-night-camping-camp-fire-inclober-dgefsff-dslkjjpg.image.136x109.jpg

So i went in turned the Image Handler off and then cleared the cache and restarted. Each time I do this it seems that more images are getting this new format. What is crazier is that on Chrome you cannot see the images but on Edge you can.... or it looks that way at least.

I did a search for "pagespeed" in Zen Cart and cannot find it.... HELP! Most of my homepage category pictures are not working right now... and the category pictures also are not working on my category page.

21 May 2021, 12:32 PM
#437
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

shrimp-gumbo-mmmhhh:

Okay, new problem. I don't know if it is related to the above problem or not. 2 Days ago I noticed that speed tests on my website were failing. I took a look at the front page and noticed some of the pictures were not showing up. These are my category pictures which tend to be very small. I noticed that the image addresses were very strange.

bmz_cache/s/xgiant-football-for-over-night-camping-camp-fire-inclober-dgefsff-dslkjjpg.image.136x109.jpg**.pagespeed.ic.oCtxT2VV6L.webp**

The link would work if it was this: bmz_cache/s/giant-football-for-over-night-camping-camp-fire-inclober-dgefsff-dslkjjpg.image.136x109.jpg

So i went in turned the Image Handler off and then cleared the cache and restarted. Each time I do this it seems that more images are getting this new format. What is crazier is that on Chrome you cannot see the images but on Edge you can.... or it looks that way at least.

I did a search for "pagespeed" in Zen Cart and cannot find it.... HELP! Most of my homepage category pictures are not working right now... and the category pictures also are not working on my category page.
FWIW, I've never seen such rendering before.

What other modifications were made to the site in support of your page-speed issues?

What's the image recorded in the database for the associated product?

You might try using your admin's Tools :: Developers' Tool Kit to try to locate any .php or .js files that contain webp.

21 May 2021, 7:36 PM
#438
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

lat9:

FWIW, I've never seen such rendering before.

What other modifications were made to the site in support of your page-speed issues?

What's the image recorded in the database for the associated product?

You might try using your admin's Tools :: Developers' Tool Kit to try to locate any .php or .js files that contain webp.

I see files there that mention webp but none assigning that value.... I did load up a program called Pixillion Image Converter recently and a program called SecureZip... I am seeing the links though when I do view source from chrome.... when I replaced an image I was then able to see all images.... I replaced another and it went back.... :(

Does the image handler use the modpagespeed? If so wonder why other bigger images are not being used with it?

Optimize Images (modpagespeed.com)

21 May 2021, 10:39 PM
#440
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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

Just got confirmation from server caretaker that the module was recently installed. Thank you!