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 321 to 340 of 774
26 Dec 2019, 8:36 PM
#321
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

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

New Clean Install zencart 1.5.6c PHP 5.6
installed Westminster)New template
Installed IH5 1.5.7
Fatal error result:

*
26-Dec-2019 18:13:33 UTC] Request URI: /admin/image_handler.php?ih_page=manager&products_filter=2, IP address: 100.2.167.42
--> PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 19160 bytes) in /home/tell/public_html/includes/classes/bmz_image_handler.class.php on line 824.
*

reinstalled IH5 twice same error
used IH5's version of additional_images.php knowing that will effect zen lightbox
also used the Westminster version of additional_images.php.

trying to get IH5 to work first
As soon as 1st product was created with 1 image file , fatal error surfaces.
bmz_cache folder permissions are 777
Checked database configuration table ok.

any help would be appreciated

27 Dec 2019, 1:12 PM
#322
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

mikebr:

New Clean Install zencart 1.5.6c PHP 5.6
installed Westminster)New template
Installed IH5 1.5.7
Fatal error result:

reinstalled IH5 twice same error
used IH5's version of additional_images.php knowing that will effect zen lightbox
also used the Westminster version of additional_images.php.

trying to get IH5 to work first
As soon as 1st product was created with 1 image file , fatal error surfaces.
bmz_cache folder permissions are 777
Checked database configuration table ok.

any help would be appreciated
The template shouldn't have an effect on that admin-level error. Would you send me a copy of that .png you are using via direct email?

I'll note, too, that IH deals best with .jpg images.

27 Dec 2019, 3:29 PM
#323
mikebr avatar

mikebr

Zen Follower

Join Date:
May 2007
Posts:
124
Plugin Contributions:
0

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

lat9:

The template shouldn't have an effect on that admin-level error. Would you send me a copy of that .png you are using via direct email?

I'll note, too, that IH deals best with .jpg images.

Hi
I took your advice and loaded a .jpg for testing purposes
The jpeg RGB file is 1.45 MB in size
The Dimensions are 4790 x 5987 px
Attachment 18769

Iv'e adjusted the options in Admin Config Images to accommodate the file.
Are there any other limitations on file size and dimensions?
Have used IH5 on other web sites with files up to 9 MB without any problems, IH would resize to dimensions adjusted in admin config images.
Current error is for this jpeg.

[27-Dec-2019 15:20:39 UTC] Request URI: /, IP address: 159.69.74.243
--> PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 19160 bytes) in /home/tez/public_html/includes/classes/bmz_image_handler.class.php on line 831.

thanks
mike

27 Dec 2019, 3:44 PM
#324
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

Mike, would you send me a copy via direct email so that I can see what's going on?

4 Jan 2020, 5:16 PM
#325
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.8 of IH-5 to the Zen Cart moderators for review; I'll post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#196: Future proofing, PHP 7.4 and "curly braces" instead of substr.
#197: Document interoperation settings for SitemapXML's inclusion of product images.

4 Jan 2020, 6:17 PM
#326
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

Cindy, please check this and see if you can include that as well.

When viewing images in IH admin, medium images show a dash instead of a thumbnail. The images ARE created and all works well, it's just confusing why the medium image thumbnails are not displayed.
[Attachment no longer available]

My site - Pro ZC Help
My portfolio | My plugins

4 Jan 2020, 8:00 PM
#327
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

balihr:

Cindy, please check this and see if you can include that as well.

When viewing images in IH admin, medium images show a dash instead of a thumbnail. The images ARE created and all works well, it's just confusing why the medium image thumbnails are not displayed.
[Attachment no longer available]
Those dashes are displayed for the product's additional images, which display only in **small **and **large **sizes.

6 Jan 2020, 8:46 PM
#328
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.8 of IH-5 to the Zen Cart moderators for review; I'll post back here when it's available for download.

 This release contains changes associated with the following GitHub issues:

#196: Future proofing, PHP 7.4 and "curly braces" instead of substr.
#197: Document interoperation settings for SitemapXML's inclusion of product images.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2169

6 Jan 2020, 9:38 PM
#329
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

lat9:

Those dashes are displayed for the product's additional images, which display only in **small **and **large **sizes.

You're right (as usual), but it's just confusing. I was asked about it by 3 different people. Perhaps a small legend at the bottom of the screen explaining that additional images are only used in small and large size?

Although, what about product listing pages when you use a rollover image? I know it's not standard Zen Cart, but still... Never mind. :cheers:

My site - Pro ZC Help
My portfolio | My plugins

6 Jan 2020, 11:55 PM
#330
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

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

balihr:

You're right (as usual), but it's just confusing. I was asked about it by 3 different people. Perhaps a small legend at the bottom of the screen explaining that additional images are only used in small and large size?

Although, what about product listing pages when you use a rollover image? I know it's not standard Zen Cart, but still... Never mind. :cheers:

Maybe instead of a dash you can have "not needed" or "n/a"

The product listing pages don't show the additional images. :wink:

IDEASLady
IDEAS Creative Studio

Your image... our business!

7 Jan 2020, 12:13 AM
#331
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

ideasgirl:

Maybe instead of a dash you can have "not needed" or "n/a"
+1
Yeah, actually the "not needed" would be great, much better than the dash.

The product listing pages don't show the additional images. :wink:
Notice how I said it's not standard Zen Cart, but still... A lot of sites use it and it's relatively simple to add - the main image is displayed on the listing pages, and when you hover the image, you get a new "rollover" image which is actually the first additional image. Or you can even setup a carousel and have left/right arrows to scroll through the additional images on the listing page, but that's slightly more complex than just the rollover image.

My site - Pro ZC Help
My portfolio | My plugins

7 Jan 2020, 11:45 AM
#332
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

balihr:

You're right (as usual), but it's just confusing. I was asked about it by 3 different people. Perhaps a small legend at the bottom of the screen explaining that additional images are only used in small and large size? ...

ideasgirl:

Maybe instead of a dash you can have "not needed" or "n/a" ...

balihr:

+1
Yeah, actually the "not needed" would be great, much better than the dash. ...
Thanks to the two of you! I'll go for a combination of the "not needed" and the legend describing why those medium/additional images are SIZE=1[/SIZE] not needed.

21 Jan 2020, 1:14 AM
#333
sstreich avatar

sstreich

New Zenner

Join Date:
Nov 2014
Location:
PA
Posts:
36
Plugin Contributions:
0

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

Recently upgraded zc from 154 to 156c
new installs for IH v5.1.7
GD is loaded
PHP 7.2

On the old ZC154 I am sure if I added an image to either the product list page or IH Base image it would automatically create the _MED and LRG resized images and place them in the med and lrg folders. Was I imagining this or did I possibly miss something on the new install? It is writing to the bmz cache correctly but not creating the med and lrg images, they do show on the Image Manager just not being placed in the right folders. (755)

21 Jan 2020, 12:21 PM
#334
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

SStreich:

Recently upgraded zc from 154 to 156c
new installs for IH v5.1.7
GD is loaded
PHP 7.2

On the old ZC154 I am sure if I added an image to either the product list page or IH Base image it would automatically create the _MED and LRG resized images and place them in the med and lrg folders. Was I imagining this or did I possibly miss something on the new install? It is writing to the bmz cache correctly but not creating the med and lrg images, they do show on the Image Manager just not being placed in the right folders. (755)
When it creates those images, IH has ***always ***created the resized images in the /bmz_cache directory (under names that reflect their sizing).

10 Feb 2020, 6:29 PM
#335
k8ee avatar

k8ee

New Zenner

Join Date:
Sep 2009
Location:
Ontario, Canada
Posts:
23
Plugin Contributions:
0

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

For anyone planning to enjoy the Twitch Admin Product thumb addon, I've encountered a conflict with IH5, so I am cross posting the fix that worked for me.

The specifical issue was on the admin side resulting in a fatal php error. For anyone else having this problem, I tracked the issue down to the language file. My solution, while probably somewhat crude, was to open the admin/includes/languages/english/extra_definitions/TAP_thumb.php and commented out the bottom two lines of code so that my file only looked like this:

<?php
// -----
//Twitch admin images
//
define('TABLE_HEADING_TAPTHUMB_IMG', 'Image');

I also renamed the file to thumb.php, as for some reason earlier in my troubleshooting I had commented out the entire file and it had not resolved my issue. Anyway, things have been working fine as far as I can tell, will report back if I encounter any anomalies. Love having image handler and love having admin images, so for me and the staff, much love to everyone who builds these great plugins! Hope this is helpful to someone.

10 Feb 2020, 9:25 PM
#336
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

k8ee:

For anyone planning to enjoy the Twitch Admin Product thumb addon, I've encountered a conflict with IH5, so I am cross posting the fix that worked for me.

The specifical issue was on the admin side resulting in a fatal php error. For anyone else having this problem, I tracked the issue down to the language file. My solution, while probably somewhat crude, was to open the admin/includes/languages/english/extra_definitions/TAP_thumb.php and commented out the bottom two lines of code so that my file only looked like this:

<?php // ----- //Twitch admin images // define('TABLE_HEADING_TAPTHUMB_IMG', 'Image'); ``` > > I also renamed the file to thumb.php, as for some reason earlier in my troubleshooting I had commented out the entire file and it had not resolved my issue. Anyway, things have been working fine as far as I can tell, will report back if I encounter any anomalies. Love having image handler and love having admin images, so for me and the staff, much love to everyone who builds these great plugins! Hope this is helpful to someone. What were the lines that you commented out?
12 Feb 2020, 11:03 AM
#337
meksicus avatar

meksicus

New Zenner

Join Date:
Jul 2015
Location:
Warsaw
Posts:
16
Plugin Contributions:
0

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

Hi there.
Im using IH 5.1.3 - ZenCart 1.5.5f
Common settings for quality image is 85% (for small, medium, large).
PHP Library used : GD
Then, i used gtmetrix.com to check site performance.
It shows a problem with graphics compressions - it can be much better, than currently generated by IH.
So, how i can improve (which parameters to change) to achieve better compression level without loosing quality?
My site is -> https://boxlab.pl
report generated by gtmetrix -> https://gtmetrix.com/reports/boxlab.pl/FTmAWgOV
Marek.

12 Feb 2020, 12:22 PM
#338
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

You could try @balihr's ZX Optimized Images. I'm not familiar with the in's and out's of image sizing, having only inherited the maintenance of Image Handler.

13 Feb 2020, 1:38 PM
#339
meksicus avatar

meksicus

New Zenner

Join Date:
Jul 2015
Location:
Warsaw
Posts:
16
Plugin Contributions:
0

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

lat9:

You could try @balihr's ZX Optimized Images. I'm not familiar with the in's and out's of image sizing, having only inherited the maintenance of Image Handler.
Thank you, ZX works great, very good compression.
But its not fully compatible with IH.
Will be great to implement this compression method into IH.

Regards.
Marek.

19 Mar 2020, 2:11 AM
#340
ikirin avatar

ikirin

New Zenner

Join Date:
Apr 2019
Location:
shanghai
Posts:
27
Plugin Contributions:
0

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

Hello, I installed the "attrib_image_swap_module_v1_5_10 (attribute image replaced the main product image when selecting attributes)" module. The attribute image can replace the main image normally, but the enlarged main image cannot be displayed normally after clicking the main image after replacement.
IH5(V.5.1.8) does not seem to be able to compress attribute images.
Attachment 18902