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 241 to 260 of 774
10 Jul 2019, 11:51 AM
#241
lat9 avatar

lat9

Administrator

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

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

@simon1066, your analysis is spot-on. There was apparently some reason, historically, that the clause was added but I can't justify it. I see no reason to exclude image-generation from products that can't be added to the cart.

GitHub issue created for tracking: https://github.com/DivaVocals/zen_Image-Handler/issues/170

10 Jul 2019, 11:56 AM
#242
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

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

lat9:

... I see no reason to exclude image-generation from products that can't be added to the cart.

Me neither, I'll comment out that code. Thanks.

Simon

10 Jul 2019, 12:20 PM
#243
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

simon1066:

Me neither, I'll comment out that code. Thanks.
Check the change I posted on GitHub; it's not sufficient to just comment that code out, since the results are passed to that function and will generate (at a minimum) a PHP Notice for a missing variable.

10 Jul 2019, 12:47 PM
#244
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

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

Got it. Will do.

Simon

11 Jul 2019, 6:33 PM
#245
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.4 of IH-5 for review by the plugin moderators and will post back here once it's available for download.

 This release contains changes associated with the following GitHub issues:

#133: Correcting various PHP Notices.
#161: Correct undefined-constant warning on initial install.
#163: Admin edit-product link broken on zc156.
#168: Correct "Unable to determine the page link" after adding an image.
#169: Correct handling of the "Force canvas" setting.
#170: Correct admin image-generation for products that can't be placed into the cart.

14 Jul 2019, 12:03 PM
#246
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.4 of IH-5 for review by the plugin moderators and will post back here once it's available for download.

 This release contains changes associated with the following GitHub issues:

#133: Correcting various PHP Notices.
#161: Correct undefined-constant warning on initial install.
#163: Admin edit-product link broken on zc156.
#168: Correct "Unable to determine the page link" after adding an image.
#169: Correct handling of the "Force canvas" setting.
#170: Correct admin image-generation for products that can't be placed into the cart.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2169

20 Jul 2019, 11:17 PM
#247
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

ZC v1.5.6c
Fresh Install
Mods: MySql Backup / IH 5.1.4 / CK Editor / Zen Magnific

Everything is working fine, but I'm getting the following error on the log: :lookaroun

[20-Jul-2019 18:09:35 America/Chicago] Request URI: /ADMIN/keepalive.php?_=1563663915332, IP address: XX.XX.XX.XXX
#1  require(/home/ACCOUNT/public_html/ADMIN/includes/languages/english/extra_definitions/image_handler_extra_definitions.php) called at [/home/ACCOUNT/public_html/ADMIN/includes/init_includes/init_languages.php:48]
#2  require(/home/ACCOUNT/public_html/ADMIN/includes/init_includes/init_languages.php) called at [/home/ACCOUNT/public_html/includes/autoload_func.php:48]
#3  require(/home/ACCOUNT/public_html/includes/autoload_func.php) called at [/home/ACCOUNT/public_html/ADMIN/includes/application_top.php:171]
#4  require(/home/ACCOUNT/public_html/ADMIN/includes/application_top.php) called at [/home/ACCOUNT/public_html/ADMIN/keepalive.php:9]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /home/ACCOUNT/public_html/ADMIN/includes/languages/english/extra_definitions/image_handler_extra_definitions.php on line 25.

IDEASLady
IDEAS Creative Studio

Your image... our business!

21 Jul 2019, 11:32 AM
#248
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

When you navigate to Tools->Image Handler5, does the version display properly (and without that warning generated)?

22 Jul 2019, 5:00 PM
#249
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

Image Handler5

Version: 5.1.2

The search box is not working. It is coming back with the admin template but blank where you would expect something to be.

The edit product button is not working. Same condition as above.

Also, I have a picture (ref:10233) that appears valid but is showing up with the new Image(s) as invalid. Is it possible to clear the cache for one image instead of all to see if the problem gets fixed?

22 Jul 2019, 5:07 PM
#250
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

The most recent version is 5.1.4. Give that a shot to see if your issue(s) have been resolved in that release.

22 Jul 2019, 8:03 PM
#251
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

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

I am doing an upgrade to a site that previously had IH installed - assuming it is "4" - but weirdly enough does not show in the Tools menu - and is not showing in the 1.5.6C tools menu either. (I wanted to give you exact version on live site running zc 1.5.4).

I just glanced through a few admin files in the V 5.1.4 that I installed on the new site to see if I could find the page registration coding so it will show up under the tools menu - can you post it here? THANKS

I am hoping by being able to uninstall and reinstall that the image hover will work on the dev site, as it is not working right now.

lat9:

The most recent version is 5.1.4. Give that a shot to see if your issue(s) have been resolved in that release.

23 Jul 2019, 11:46 AM
#252
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

stellarweb:

I am doing an upgrade to a site that previously had IH installed - assuming it is "4" - but weirdly enough does not show in the Tools menu - and is not showing in the 1.5.6C tools menu either. (I wanted to give you exact version on live site running zc 1.5.4).

I just glanced through a few admin files in the V 5.1.4 that I installed on the new site to see if I could find the page registration coding so it will show up under the tools menu - can you post it here? THANKS

I am hoping by being able to uninstall and reinstall that the image hover will work on the dev site, as it is not working right now.
Judy, what version of Zen Cart were you upgrading from?

The admin-menu addition is performed by IH's /admin/init_includes/init_image_handler.php on an initial installation and/or where the setting IH_RESIZE does not currently exist:

        // -----
        // Register the Image Handler tool within the Zen Cart admin menus.
        //
        if (!zen_page_key_exists('configImageHandler4')) {
            zen_register_admin_page('configImageHandler4', 'BOX_TOOLS_IMAGE_HANDLER', 'FILENAME_IMAGE_HANDLER', '', 'tools', 'Y', 14);
        }
24 Jul 2019, 2:00 PM
#253
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

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

Image handler 5.1.4 running on ZC 1.5.6c, PHP7.3

I'm getting a warning in the log file when logging in to admin.

PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /Users/steph/Developer/jsc156c/Smock-Lsl-tWirl/includes/languages/english/extra_definitions/image_handler_extra_definitions.php on line 25.

Line 25 is
define('ICON_IMAGE_HANDLER', 'Image Handler ' . IH_VERSION);

What is the correct fix for this as IH_VERSION is a database stored define?

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

24 Jul 2019, 2:16 PM
#254
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

strelitzia:

Image handler 5.1.4 running on ZC 1.5.6c, PHP7.3

I'm getting a warning in the log file when logging in to admin.

PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /Users/steph/Developer/jsc156c/Smock-Lsl-tWirl/includes/languages/english/extra_definitions/image_handler_extra_definitions.php on line 25.

Line 25 is
define('ICON_IMAGE_HANDLER', 'Image Handler ' . IH_VERSION);

What is the correct fix for this as IH_VERSION is a database stored define?
Did you upgrade from a previous version of Image Handler, or was this a fresh install? If an upgrade, from what version?

24 Jul 2019, 2:58 PM
#255
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

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

It was a fresh install.

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

24 Jul 2019, 3:42 PM
#256
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

Is that just one instance of that log or is this occurring each time you refresh the admin screen?

24 Jul 2019, 6:19 PM
#257
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 IH v5.1.5 for review by the plugin moderators and will post back here when it's available for download.

 This release contains the changes associated with the following GitHub issues:

#174: Missing IH_VERSION logged on initial installation
#175: Undefined offset 5 logged on initial installation (missing image-zoom-on-hover description).

24 Jul 2019, 8:06 PM
#258
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

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

lat9:

Is that just one instance of that log or is this occurring each time you refresh the admin screen?

I actually had four instances of this error. But it doesn't appear to be generating it now.

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

29 Jul 2019, 12:49 PM
#259
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 IH v5.1.5 for review by the plugin moderators and will post back here when it's available for download.

 This release contains the changes associated with the following GitHub issues:

#174: Missing IH_VERSION logged on initial installation
#175: Undefined offset 5 logged on initial installation (missing image-zoom-on-hover description).
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2169

30 Jul 2019, 2:42 PM
#260
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

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

Upgraded from v4_3_2 to v_5_1_2 Zen cart upgraded from 1.5.0 to 1.5.6a Template modified sheffield blue

First some background info. The v_4.3.2 version for some reason removed all images from images folder, this I have found no explanation. Now they reside only in bmz_cache folder and with hashed filenames. On old site v.4.3.2 otherwise worked and images got watermarked and resized which is the reason it was installed in the first place.

After upgrade only few images are visible and we currently have 66K of images so this is not a small problem to us. I have tried to upload images to images folder and they still not come visible. Also uploaded old shops bmz_cache folder to 1.5.6a with no luck.

I turned on debugging and get following:

2019-07-30 16:24:33: (/index.php?main_page=index&cPath=860) __constructor for /homez.517/autodrac/www/images/categories/astinlautaaudiq3.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/categories/astinlautaaudiq3.jpg

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/topw221keula.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/topw221keula.jpg

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/aledvaloparitrekisterikilpi.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/categories/aledvaloparitrekisterikilpi.jpg

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/retwet536556sgtuh.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/categories/retwet536556sgtuh.jpg

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/apuskurinsuojarosteri.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/categories/apuskurinsuojarosteri.jpg

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/categories/ertwtgttwrye657w242afg.jpg, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/categories/ertwtgttwrye657w242afg.jpg

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

2019-07-30 16:24:33: __constructor for /homez.517/autodrac/www/images/pixel_trans.gif, called by /home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php at line number 106array (
  0 => 
  array (
    'file' => '/home/autodrac/www/includes/functions/extra_functions/functions_bmz_image_handler.php',
    'line' => 106,
    'function' => '__construct',
    'class' => 'ih_image',
    'type' => '->',
  ),
)
		calculate_size, file does not exist.
		resizing is allowed.
		get_resized_image(100, 50, , )
		calculate_size, file does not exist.
		... returning images/pixel_trans.gif

we are very nervous about this. Every bit of help is highly appreciated.