-
Re: Image Handler 5 (for v1.5.5) Support Thread
Take a look at the additional information section at https://www.zen-cart.com/content.php?100
A lot of folks miss this basic thing in Zen Cart. You can add folders for anything in the images directory but, if you have too many files that have similar beginnings, Zen Cart will assume they are all part of one item.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Thank you dbltoe.... this is incredibly bad news. I don't believe I had a problem with my last version of zc.... at least I didn't see it but I have THOUSANDS of image files written in word form... all in the /images directory and on some items have many similar items that could have the same beginning words and could have the same sentence up to the sku identifier. :(
-
Re: Image Handler 5 (for v1.5.5) Support Thread
I guess I am going to have to rename ALL of my images to begin with the product id then the name.... do you think that would be safe?
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Solution:
You have two options:
a) rename your images so they don't share a common filename. Right now since you have one product with "abc.jpg" as the name, and another product with "abcde.jpg" as the name, both images will show for the "abc.jpg" product, because "abc" is common to both, and "abc" is the full filename of the main image of one of the products.
This is explained further in the Additional Images FAQ.
b) or turn off all extra-image functionality via Admin->Catalog->Product Types->Product General->Edit Layout->Show Additional Images = 0
Ah ha! I have an alternative!!!!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Right now since you have one product with "abc.jpg" as the name, and another product with "abcde.jpg" as the name, both images will show for the "abc.jpg" product,
I don't find this behaviour, nor the converse. indeed it would be extremely restrictive if it were so.
If product1 defined image is abc.jpg, anything named abc_WHATEVER.jpg (using an underscore as the separator) will also be shown for product1.
abcWHATEVER.jpg does not get shown for product1.
ab.jpg does not get shown for product1 either.
That is what I find.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
The behaviour is different depending if you use subdirectories.
I always use subdirectories as the underscore "_" separator (only) applies
The more restrictive behaviour applies if your images are NOT in subdirectories
See How do I add multiple images to a product?
A few lines below "Additional information"
-
Re: Image Handler 5 (for v1.5.5) Support Thread
IF you need to rename images, get spacetornado renamer. Great tool for fixing image names, case, spelling, etc.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
@earmsby, could you provide me with a link to one of those "pretty large" images so that I can test myself? If you don't want to post a link publically, send me a PM.
I re-did my test products using additional images that were smaller in size and now it's working fine.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Right now since you have one product with "abc.jpg" as the name, and another product with "abcde.jpg" as the name, both images will show for the "abc.jpg" product, because "abc" is common to both, and "abc" is the full filename of the main image of one of the products.
Quote:
The more restrictive behaviour applies if your images are NOT in subdirectories
True! I have never come across this, since I would never put anything in the images root, but keep 18000 images in subdirectories.
Renamer is also a great renaming tool.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
I've just submitted v1.5.3 to the Zen Cart plugins for review and will post back once it's available for download. This release contains changes associated with the following GitHub issues:
#151: Correct 'always present' message in admin after upgrade.
#153: zc156: Previous/next product navigation section 'overlaps'.
#156: PSR-2 refactoring
#158: bmz_cache image not updated when 'base' image is updated.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Thank you for the suggestion. I typically do renaming with bash shell scripting.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
Hello lat9, would you please instruct me on how to fix this issue? I am trying to work on the GoogleFeeder module.... Thank you!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
shrimp-gumbo-mmmhhh
Hello lat9, would you please instruct me on how to fix this issue? I am trying to work on the GoogleFeeder module.... Thank you!
Go to the IH GitHub repository's "releases" page (https://github.com/DivaVocals/zen_Im...ndler/releases) and click the link for the download of v5.1.3; update the files that have been changed.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
Thank you! I think I noticed an issue with that release.... /includes/functions/extra_functions/functions_bmz_image_handler.ph instead of .php ????
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Please forgive me but I am asking about how you fixed this issue:
UNDEFINED CONSTANT ERROR Image Handler 5 (for v1.5.6a)
ERROR#1
[22-Apr-2019 20:52:29 America/Chicago] Request URI: /XXX-p-3.html, IP address: 5.9.XX.XX
#1 include(/home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home/shrimps/public_html/includes/modules/extra_functions.php:44]
#2 include(/home/shrimps/public_html/includes/modules/extra_functions.php) called at [/home/shrimps/public_html/includes/init_includes/init_general_funcs.php:42]
#3 require(/home/shrimps/public_html/includes/init_includes/init_general_funcs.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
#4 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/includes/application_top.php:170]
#5 require(/home/shrimps/public_html/includes/application_top.php) called at [/home/shrimps/public_html/index.php:26]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php on line 16.
I do not see any additional IH_VERSION or changes to the IH_VERSION in this file. Thank you!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Can you tell me where IH_VERSION is set? Thank you!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
shrimp-gumbo-mmmhhh
Thank you! I think I noticed an issue with that release.... /includes/functions/extra_functions/functions_bmz_image_handler.ph instead of .php ????
I'm not sure where you're seeing this; all the extra_functions files are .php, as is the reference in the readme's change history.
Quote:
Originally Posted by
shrimp-gumbo-mmmhhh
Please forgive me but I am asking about how you fixed this issue:
UNDEFINED CONSTANT ERROR Image Handler 5 (for v1.5.6a)
ERROR#1
[22-Apr-2019 20:52:29 America/Chicago] Request URI: /XXX-p-3.html, IP address: 5.9.XX.XX
#1 include(/home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home/shrimps/public_html/includes/modules/extra_functions.php:44]
#2 include(/home/shrimps/public_html/includes/modules/extra_functions.php) called at [/home/shrimps/public_html/includes/init_includes/init_general_funcs.php:42]
#3 require(/home/shrimps/public_html/includes/init_includes/init_general_funcs.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
#4 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/includes/application_top.php:170]
#5 require(/home/shrimps/public_html/includes/application_top.php) called at [/home/shrimps/public_html/index.php:26]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php on line 16.
I do not see any additional IH_VERSION or changes to the IH_VERSION in this file. Thank you!
Was this an initial installation or an upgrade?
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
shrimp-gumbo-mmmhhh
Can you tell me where IH_VERSION is set? Thank you!
It's set in the plugin's installation script, /YOUR_ADMIN/includes/init_includes/init_image_handler.php, around line 237:
Code:
// -----
// On an initial install or an upgrade from an IH-version that (er) didn't record an 'IH_VERSION',
// create a configuration element that displays the plugin's current version and set that definition
// for follow-on upgrade processing.
//
if (!defined('IH_VERSION')) {
$db->Execute(
"INSERT INTO " . TABLE_CONFIGURATION . "
(configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function)
VALUES
('IH version', 'IH_VERSION', '" . IH_CURRENT_VERSION . "', 'Displays the currently-installed version of <em>Image Handler</em>.', $cgi, 1000, now(), NULL, 'trim(')"
);
define('IH_VERSION', (defined('IH_RESIZE')) ? '?.?.?' : '0.0.0');
}
Are you sure you've copied all the required files?
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Hello,
I just unzipped the github download and did nothing else but browse the directory.... one of the files appears to be named incorrectly?
I looked in this directory on the unzip:
Thank you! I think I noticed an issue with that release.... /includes/functions/extra_functions/functions_bmz_image_handler.ph instead of .php ????
Thank you!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Oh sorry, my "invisible" bar was cutting off the last "p"
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
It's set in the plugin's installation script, /YOUR_ADMIN/includes/init_includes/init_image_handler.php, around line 237:
Code:
// -----
// On an initial install or an upgrade from an IH-version that (er) didn't record an 'IH_VERSION',
// create a configuration element that displays the plugin's current version and set that definition
// for follow-on upgrade processing.
//
if (!defined('IH_VERSION')) {
$db->Execute( https://xn--mediatorpozna-1ic.pl/201...i-co-reguluje/
"INSERT INTO " . TABLE_CONFIGURATION . "
(configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function)
VALUES
('IH version', 'IH_VERSION', '" . IH_CURRENT_VERSION . "', 'Displays the currently-installed version of <em>Image Handler</em>.', $cgi, 1000, now(), NULL, 'trim(')"
);
define('IH_VERSION', (defined('IH_RESIZE')) ? '?.?.?' : '0.0.0');
}
Are you sure you've copied all the required files?
that's not all
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
shrimp-gumbo-mmmhhh
ERROR #2
[22-Apr-2019 20:52:37 America/Chicago] Request URI: /ADMIN/keepalive.php, IP address: XX.XX.XX.XX
#1 require(/home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home/shrimps/public_html/ADMIN/includes/functions/extra_functions/functions_bmz_image_handler.php:18]
#2 require(/home/shrimps/public_html/ADMIN/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home/shrimps/public_html/ADMIN/includes/init_includes/init_general_funcs.php:45]
#3 require(/home/shrimps/public_html/ADMIN/includes/init_includes/init_general_funcs.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
#4 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/ADMIN/includes/application_top.php:171]
#5 require(/home/shrimps/public_html/ADMIN/includes/application_top.php) called at [/home/shrimps/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/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php on line 16.
[22-Apr-2019 20:52:37 America/Chicago] Request URI: /ADMIN/keepalive.php, IP address: XX.XX.XX.XX
#1 require(/home/shrimps/public_html/ADMIN/includes/languages/english/extra_definitions/image_handler_extra_definitions.php) called at [/home/shrimps/public_html/ADMIN/includes/init_includes/init_languages.php:44]
#2 require(/home/shrimps/public_html/ADMIN/includes/init_includes/init_languages.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
#3 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/ADMIN/includes/application_top.php:171]
#4 require(/home/shrimps/public_html/ADMIN/includes/application_top.php) called at [/home/shrimps/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/shrimps/public_html/ADMIN/includes/languages/english/extra_definitions/image_handler_extra_definitions.php on line 25.
PHP 7.2.10
ZC v1.56b
IH5 v5.1.3 (from ZC plugins)
Just an FYI, on an initial IH5 installation, I get the above warnings only on the first admin page refresh after installing this mod. No further errors, although I haven't delved into the settings yet. Exact log file is:
Code:
[27-Jun-2019 09:30:23 Europe/London] Request URI: /ADMIN/index.php, IP address: 127.0.0.1
#1 require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\functions\extra_functions\functions_bmz_image_handler.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\functions\extra_functions\functions_bmz_image_handler.php:18]
#2 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\functions\extra_functions\functions_bmz_image_handler.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_general_funcs.php:45]
#3 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_general_funcs.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php:48]
#4 require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php:171]
#5 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\index.php:10]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in D:\wamp64\www\MY_DOMAIN.co.uk\includes\functions\extra_functions\functions_bmz_image_handler.php on line 16.
[27-Jun-2019 09:30:23 Europe/London] Request URI: /ADMIN/index.php, IP address: 127.0.0.1
#1 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\languages\english\extra_definitions\image_handler_extra_definitions.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_languages.php:48]
#2 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_languages.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php:48]
#3 require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php:171]
#4 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\index.php:10]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\languages\english\extra_definitions\image_handler_extra_definitions.php on line 25.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
shrimp-gumbo-mmmhhh
Please forgive me but I am asking about how you fixed this issue:
UNDEFINED CONSTANT ERROR Image Handler 5 (for v1.5.6a)
ERROR#1
[22-Apr-2019 20:52:29 America/Chicago] Request URI: /XXX-p-3.html, IP address: 5.9.XX.XX
#1 include(/home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php) called at [/home/shrimps/public_html/includes/modules/extra_functions.php:44]
#2 include(/home/shrimps/public_html/includes/modules/extra_functions.php) called at [/home/shrimps/public_html/includes/init_includes/init_general_funcs.php:42]
#3 require(/home/shrimps/public_html/includes/init_includes/init_general_funcs.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
#4 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/includes/application_top.php:170]
#5 require(/home/shrimps/public_html/includes/application_top.php) called at [/home/shrimps/public_html/index.php:26]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php on line 16.
I do not see any additional IH_VERSION or changes to the IH_VERSION in this file. Thank you!
Quote:
Originally Posted by
simon1066
PHP 7.2.10
ZC v1.56b
IH5 v5.1.3 (from ZC plugins)
Just an FYI, on an initial IH5 installation, I get the above warnings only on the first admin page refresh after installing this mod. No further errors, although I haven't delved into the settings yet. Exact log file is:
Code:
[27-Jun-2019 09:30:23 Europe/London] Request URI: /ADMIN/index.php, IP address: 127.0.0.1
#1 require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\functions\extra_functions\functions_bmz_image_handler.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\functions\extra_functions\functions_bmz_image_handler.php:18]
#2 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\functions\extra_functions\functions_bmz_image_handler.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_general_funcs.php:45]
#3 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_general_funcs.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php:48]
#4 require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php:171]
#5 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\index.php:10]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in D:\wamp64\www\MY_DOMAIN.co.uk\includes\functions\extra_functions\functions_bmz_image_handler.php on line 16.
[27-Jun-2019 09:30:23 Europe/London] Request URI: /ADMIN/index.php, IP address: 127.0.0.1
#1 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\languages\english\extra_definitions\image_handler_extra_definitions.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_languages.php:48]
#2 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\init_includes\init_languages.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php:48]
#3 require(D:\wamp64\www\MY_DOMAIN.co.uk\includes\autoload_func.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php:171]
#4 require(D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\application_top.php) called at [D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\index.php:10]
--> PHP Warning: Use of undefined constant IH_VERSION - assumed 'IH_VERSION' (this will throw an Error in a future version of PHP) in D:\wamp64\www\MY_DOMAIN.co.uk\ADMIN\includes\languages\english\extra_definitions\image_handler_extra_definitions.php on line 25.
Thanks to both of you; I need to get my eyes re-examined, since that first posting absolutely identified the error and the second simply pounded that identification!
It'll happen, as @simon1066 indicated, only on the very initial page-load since IH_VERSION isn't yet set. I've created a GitHub issue to track the resolution of the issue (https://github.com/DivaVocals/zen_Im...ler/issues/161).
-
Re: Image Handler 5 (for v1.5.5) Support Thread
PHP 7.2.10
ZC v1.56b
IH5 v5.1.3 (from ZC plugins)
Possible bug.
On the product page within Admin/Tools/Image Handler5 (/admin/image_handler.php?ih_page=manager) there are three buttons:
Display
Edit Product
Edit Attributes
It seems to me that the 'Edit Product' link is incorrect, rather than
e.g. admin/categories.php?action=new_product&cPath=16&pID=214&product_type=1
it should be
admin/product.php?action=new_product&cPath=16&pID=214&product_type=1
This would be achieved by changing line #331 in admin/image_handler.php to
Code:
$edit_product_link = zen_href_link(FILENAME_PRODUCT, "action=new_product&cPath=$current_category_id&pID=$products_filter&product_type=" . zen_get_products_type($products_filter));
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Thanks, @simon1066; I've applied your change (https://github.com/DivaVocals/zen_Im...ler/issues/163) for inclusion in IH5, v5.1.4.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
PHP 7.2.10
ZC v1.56b
IH5 v5.1.3 (from ZC plugins)
I've uninstalled and reinstalled IH5 but still have the same issue, this is without making any changes to IH's Admin > Config > Images settings other than turning on 'IH resize images', hopefully these three scenarios will help determine what's going on:
1. For an existing product without images I add, in Admin > Tools > IH5, a new base image (res. 934x650) with 'image base name' blank, however the small, medium and large images then generated are all of the same resolution i.e. 750x521 (which corresponds to the 'IH Large Images' settings) - even though I had previously set the small & medium image widths to 225 and 486. The store side product listing just shows a scaled down version of the large image and image hover zoom doesn't work.
next,
2. For an existing product without images I add, in Admin > Tools > IH5, a new base image (res. 934x650) with image base name 'cats_IH' (the readme indicates it doesn't require a suffix), for this I receive no generated images and an on-page error of
Code:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'SSL')
together with an error log file of
Code:
[28-Jun-2019 10:47:46 Europe/London] Request URI: /ADMIN/image_handler.php?products_filter=214&imgName=cats_IH&imgSuffix=&imgExtension=&action=layout_info, IP address: 127.0.0.1
#1 trigger_error() called at [D:\wamp64\www\MYDOMAIN.co.uk\ADMIN\includes\functions\html_output.php:16]
#2 zen_href_link() called at [D:\wamp64\www\MYDOMAIN.co.uk\ADMIN\image_handler.php:596]
--> PHP Fatal error: zen_href_link(, , SSL), unable to determine the page link. in D:\wamp64\www\MYDOMAIN.co.uk\ADMIN\includes\functions\html_output.php on line 16.
finally, and this seems to work but with errors,
3. For an existing product without images I add, in Admin > Tools > IH5, a new base image (res. 934x650) with image base name 'cats_IH.jpg' (with suffix this time), for this I receive correctly-sized small,medium and large images. The store side product listing correctly shows the small image and image hover zoom does work - yeah!. However, I still get the on-page error and error log file as above.
I did generate ih_debug files on the admin side.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Ok, after all that faffing about it seems that it was just the name of my base image that caused a problem.
I had tried to use the image from my 'large' image folder, designating a different folder during upload, named
0719_my_image_name_LRG.jpg
renaming it to
myimagename.jpg
and a blank 'image base name', worked.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Next problem,
I'm having trouble understanding/getting to work the 'canvas' size of IH generated images, so trying to follow these instructions
Quote:
If you append an exclamation-point (!) to one value (e.g. 80!), the generated re-sized images are centered on a canvas that matches exactly the given size for the corresponding image. If you specified 100x80!, a 200x200 image will be resized to 80x80 and placed centered on a 100x80 canvas filled with the specified background color. Think of it as kind of forcing image dimensions without messing up the aspect ratio.
I have,
small image width = 200
small image height = 80!
Image - Product Listing Width = 200
Image - Product Listing Height = 80!
Image - Use Proportional Images on Products and Categories = 1
IH small images background = 255:0:0
The small image generated is 114 x 80, using the exclamation mark technique I was expecting to see the small image on the product listing page centered horizontally inside a red box 200px wide (by 80 high). Is that how it works? Are there any other settings I need to alter to make this happen?
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
simon1066
Next problem,
I'm having trouble understanding/getting to work the 'canvas' size of IH generated images, so trying to follow these instructions
I have,
small image width = 200
small image height = 80!
Image - Product Listing Width = 200
Image - Product Listing Height = 80!
Image - Use Proportional Images on Products and Categories = 1
IH small images background = 255:0:0
The small image generated is 114 x 80, using the exclamation mark technique I was expecting to see the small image on the product listing page centered horizontally inside a red box 200px wide (by 80 high). Is that how it works? Are there any other settings I need to alter to make this happen?
Hmm, I've not played with that IH feature and I'll need a bit of time to review and see what's up.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Thank you. Although I can probably use one of the other methods to set the dims of my images, I couldn't let this go without figuring out what was wrong.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Extra eyes are always a good thing! Thanks @simon1066!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
In case it helps. Playing around with bmz_image_handler.class.php
changing line #449
from
Code:
$this->force_canvas = (strpos($pref_width . $pref_height, '!') !== false);
to
Code:
$this->force_canvas = (strpos($pref_width . $pref_height, '!') == false);
produces desired result, canvas is displayed.
I mention this without knowing the implications such a code change.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Thanks, @simon1066; that gives me something to "chew on".
P.S. You'll probably want to change that to === false (exactly equal)
-
Re: Image Handler 5 (for v1.5.5) Support Thread
@simon1066, I've created an issue on the IH GitHub (https://github.com/DivaVocals/zen_Im...ler/issues/169) and posted a correction. Please note that the change was different than that which you'd posted!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
Thank you, I'll take a look. Glad that it's different as I found there were issues with my suggestion.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
simon1066
Thank you, I'll take a look. Glad that it's different as I found there were issues with my suggestion.
There are a couple more changes also staged for v1.5.4 of IH-5 that address other issues you've noted above, too!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
There are a couple more changes also staged for v1.5.4 of IH-5 that address other issues you've noted above, too!
I'm being dyslexic, that should be v5.1.4!
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Hi Lat9 ,
Setting up my site now . I am wondering what is the best size and format to give IH? For example JPG , BMP , TIF
Trying to optimize my website for IH!
Thanks in advance !
-
Re: Image Handler 5 (for v1.5.5) Support Thread
I'd suggest going with .jpg. That image type resizes the best of all of them (and .tif isn't supported by IH).
-
Re: Image Handler 5 (for v1.5.5) Support Thread
ZC v1.5.6b
IH5 v5.1.4beta (issue probably exists in v5.1.3)
Not sure if this is a bug (or indeed that I can explain it clearly),
A category has two identical products (apart from the name) of Product Type 2 (product_music handler) 'Add to Cart = N'
In Admin > Tools > IH5 the zen_draw_products_pull_down for that category only shows one product, but I can scroll between the two using the Prev/Next buttons.
Looking at the code in image_handler.php it seems that if I comment out the lines that hides things that cannot go in the cart (lines 313 - 319), like this
Code:
// $not_for_cart = $db->Execute(
// "SELECT p.products_id
// FROM " . TABLE_PRODUCTS . " p
// LEFT JOIN " . TABLE_PRODUCT_TYPES . " pt
// ON p.products_type= pt.type_id
// WHERE pt.allow_add_to_cart = 'N'"
// );
I can get both products to show - this sort of makes sense but I can't see why one product would show.
I would say that perhaps IH5 release code should have it commented but I think there's something else going on here because another category with products of Product Type 3 (document_general handler) 'Add to Cart = N' shows all products regardless of whether the above code is commented out or not.
I am using the github v5.1.4beta code although I haven't tested by fully reverting to v5.1.3 - the zen_draw_products_pull_down code in image_handler.php hadn't changed.
-
Re: Image Handler 5 (for v1.5.5) 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_Im...ler/issues/170
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
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.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
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.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
-
Re: Image Handler 5 (for v1.5.5) 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.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
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
-
Re: Image Handler 5 (for v1.5.5) 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
Code:
[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.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
When you navigate to Tools->Image Handler5, does the version display properly (and without that warning generated)?
-
Re: Image Handler 5 (for v1.5.5) 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?
-
Re: Image Handler 5 (for v1.5.5) 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.
-
Re: Image Handler 5 (for v1.5.5) 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.
Quote:
Originally Posted by
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.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
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:
Code:
// -----
// 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);
}
-
Re: Image Handler 5 (for v1.5.5) 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?
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
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?
-
Re: Image Handler 5 (for v1.5.5) Support Thread
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Is that just one instance of that log or is this occurring each time you refresh the admin screen?
-
Re: Image Handler 5 (for v1.5.5) 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).
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
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.
-
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
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
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
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:
Code:
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.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
That repeated message in the debug information, similar to:
calculate_size, file does not exist. ... returning images/categories/astinlautaaudiq3.jpg
Indicates that IH is not finding that file in your store's file-system. Do you have any .htaccess modifications in the root of your store's file-system?
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Hi,
yes we did had to add .htaccess because we were pestered with hundreds of hits from nonbehaving robots:
Code:
ExpiresActive On
# Format: A where n is a number of seconds. Expires cache n seconds after access
# A2629740
ExpiresByType application/javascript A2629740
ExpiresByType application/x-javascript A2629740
ExpiresByType text/javascript A604800
ExpiresByType text/css A604800
ExpiresByType image/gif A900
ExpiresByType image/x-icon A900
ExpiresByType image/icon A900
ExpiresByType image/jpg A900
ExpiresByType image/jpeg A900
ExpiresByType image/png A900
SetEnvIfNoCase User-Agent .*rogerbot.* bad_bot
SetEnvIfNoCase User-Agent .*exabot.* bad_bot
SetEnvIfNoCase User-Agent .*mj12bot.* bad_bot
SetEnvIfNoCase User-Agent .*dotbot.* bad_bot
SetEnvIfNoCase User-Agent .*gigabot.* bad_bot
SetEnvIfNoCase User-Agent .*ahrefsbot.* bad_bot
SetEnvIfNoCase User-Agent .*sitebot.* bad_bot
<Limit GET POST HEAD>
Order Allow,Deny
Allow from all
Deny from env=bad_bot
Deny from 110.0.0.0/8
Deny from 111.0.0.0/8
Deny from 112.0.0.0/5
Deny from 120.0.0.0/6
Deny from 124.0.0.0/8
Deny from 125.0.0.0/8
Deny from 147.0.0.0/8
Deny from 46.4.62.121
Deny from 46.229.168.139
Deny from 88.99.250.124
Deny from 46.229.168.163
Deny from 46.229.168.149
Deny from 144.76.68.88
Deny from 88.99.250.124
Deny from 46.229.168.0/8
Deny from 46.4.62.0/8
Deny from 46.4.62.0/8
Deny from 144.76.68.0/8
Deny from 46.229.168.0/8
Deny from 144.76.68.0/8
Deny from 46.229.168.0/8
Deny from 46.229.168.154
Deny from 46.229.168.0/8
Deny from 46.4.62.0/8
Deny from 46.4.62.121
Deny from 46.229.168.144
Deny from 46.229.168.145
Deny from 144.76.68.88
</Limit>
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Can you verify that the image identified above does exist?
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Hi,
problem is that the old image handler also removed folders from /images like images/categories if I interpret log files right. There is only images folder left.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
OopsIbrickedIT
Hi,
problem is that the old image handler also removed folders from /images like images/categories if I interpret log files right. There is only images folder left.
Well, that s-cks! I wish I could help more, but my experience with IH-4 is very limited.
That at least explains why IH-5 can't display those images.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
Well, that s-cks! I wish I could help more, but my experience with IH-4 is very limited.
That at least explains why IH-5 can't display those images.
Yes it really does :( now I tried to recreate the folder structure from backup before image handler 4 installation and same folder disappearing happens also with IH5. Only thing I can think of which originates from old is the database and something is clearly wrong with some setting in it. This is just my hunch but perhaps only logical explanation.
I am in deep Rabbit Hole with this right now.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
I got an idea. How if I copy all of the images from old IH-4 bmz_cache to new shop images folder and turn before that the hashing off? Because seems that images from /images folder are also partly missing. Would that possibly work? the db references would be same.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Unfortunately, IH-4 has hashed those image-names upon creation in the /bmz_cache directory and it's not an easy/possible task to un-hash those names.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Shouldn't the IH-5 be backward compatible with IH-4 regarding the bmz_cache? So we have all the image info in bmz_cache only and db should have the linking info. Problem persists but perhaps there is a solution. Should we possibly remove IH-5 and install older IH4_3_2 instead with same settings so we could use the old bmz_cache?
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
IH4 and IH5 use completely different naming for the bmz cached images. additionally, the bmz cached filenames are not stored in the database, only the original image filename is store in the database. I have been using image handler since it was first introduced and have never seen what you describe
Quote:
"problem is that the old image handler also removed folders from /images like images/categories"
I don't even think there is a mechanism in code for image handler that would do that. When I do an upgrade I don't concern myself with the bmz cache folder, I leave it behind and start over fresh, because of things like new naming conventions. When changing image sizes on the site when tweaking the look of the site, I purge the bmz cache many times until I have everything the way I want it. I would love to know all of the steps to reproduce the issue of sub-folders in the iomages folder being deleted by image handler (any version). I know if one of my clients came to me and told me that I would tear the server logs apart to determine who nuked them by accident and is blaming it on image handler...
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Hi Barco, I don't think we are nuked and I would very much love to know the solution to this too. So it would help us if we could pull out that image location data from db and check how the original folder structure was constructed. There has been over decade of different upgraders and the latest backup before IH installation is incomplete because broken laptop. So there is a bad karma lurking around. Old saying there are never enough backups is true this time. My boss gave me gracefully 24 hours to solve this problem or we revert to old platform and I don't think that is wise because it is too slow.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
barco57
IH4 and IH5 use completely different naming for the bmz cached images. ...
@barco57, IH-5 provides an additional (readable) naming convention for the cached images, while maintaining the hashed-name convention used by previous versions.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
Unfortunately, IH-4 has hashed those image-names upon creation in the /bmz_cache directory and it's not an easy/possible task to un-hash those names.
If they are familiar with Bash shell scripting they could probably write a script to do it.... or they could put a request in the Commercial Help Wanted... and let me know they did. :)
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Have you asked your hosting company if they have a backup before you made these changes? Also, I recommend having a backup on a flash drive and on an external website like OneDrive.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
OopsIbrickedIT
Hi Barco, I don't think we are nuked and I would very much love to know the solution to this too. So it would help us if we could pull out that image location data from db and check how the original folder structure was constructed. There has been over decade of different upgraders and the latest backup before IH installation is incomplete because broken laptop. So there is a bad karma lurking around. Old saying there are never enough backups is true this time. My boss gave me gracefully 24 hours to solve this problem or we revert to old platform and I don't think that is wise because it is too slow.
Hello! If your boss is threatening to go to an old system.... this must mean you have the images somewhere else too? If you do, then with those images and the knowledge of the image name and location from within the products table should allow everything to be rebuilt?
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
@lat9 I forgot there was a switch in IH5 to choose between hashed and readable.
That still won't help OopsIbrickedIT extract what he is looking for... to rebuild the images folder.
For a partial list of images folder structure, you would need to export the following fields from the database:
Code:
banners_image (banners table)
categories_image (categories table)
products_image (products table)
This would at least give you a list of what the original images were named and where they lived in the images folder. It would not tell you about everything that was in the images folder as there could have been all sorts of images in there that had nothing to do with those fields and would not have touched by IH. If the bmz cache filenames can be unhashed to allow you to connect the resized images to their original parent image that will get you part of the way there. However, after checking and testing on a couple of sites this morning, I have found that the largest version of the image to be displayed in the larger image popup, normally the original large image uploaded, is not in the bmz cache and is served directly from its images folder location.
So you should be able to approximate the structure of the images folder from the database but I don't think you are going to be able to completely recover all of the images via the bmz cache
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
barco57
@lat9 I forgot there was a switch in IH5 to choose between hashed and readable.
That still won't help OopsIbrickedIT extract what he is looking for... to rebuild the images folder.
For a partial list of images folder structure, you would need to export the following fields from the database:
Code:
banners_image (banners table)
categories_image (categories table)
products_image (products table)
This would at least give you a list of what the original images were named and where they lived in the images folder. It would not tell you about everything that was in the images folder as there could have been all sorts of images in there that had nothing to do with those fields and would not have touched by IH. If the bmz cache filenames can be unhashed to allow you to connect the resized images to their original parent image that will get you part of the way there. However, after checking and testing on a couple of sites this morning, I have found that the largest version of the image to be displayed in the larger image popup, normally the original large image uploaded, is not in the bmz cache and is served directly from its images folder location.
So you should be able to approximate the structure of the images folder from the database but I don't think you are going to be able to completely recover all of the images via the bmz cache
Thank you very much for the help, I will try that. And ve do have that old bmz_cache folder with imagehandler 4 intact and I tought that could be the way. We had to revert to old site partly because of this problem. I'll post my doings ere when I have time. Possibly it some day might help somebody. I have OVH-sas as hosting provider and I suspect it even might be something do with their server settings.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
I am using version 156c and had Image Handler 5 installed.
My question is why do I have the 1st pic of a particular item have all 3 size images (small, medium, and large) and the additional pics of the same item only have the small and the large pic and not the medium.
Also why does the hover effect not work. What am I missing
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
Maynards
I am using version 156c and had Image Handler 5 installed.
My question is why do I have the 1st pic of a particular item have all 3 size images (small, medium, and large) and the additional pics of the same item only have the small and the large pic and not the medium.
Also why does the hover effect not work. What am I missing
A product's "medium" image is used as the primary product-image on a product's detailed-information page, e.g. product_info. It can also exist as a small (for product-listing display) or large (for product-details popups).
A product's additional images only are used in the small and large forms; that's why there is no medium-image created for the additional images.
That hover-effect can be wonky and is no longer supported.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
A product's "medium" image is used as the primary product-image on a product's detailed-information page, e.g. product_info. It can also exist as a small (for product-listing display) or large (for product-details popups).
A product's additional images only are used in the small and large forms; that's why there is no medium-image created for the additional images.
That hover-effect can be wonky and is no longer supported.
Thank you for response.
So it looks like everything is working as it is suppose to.
Is the proper way to use this plugin to start with a large image and drop it into the LRG Image folder or to start with a small image and just drop it into the Image folder?
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
IH doesn't use the images/large or images/medium directories. You just upload the image (whether the product's base or an additional) in its largest/best-rendered size into the /images directory or a sub-directory other than /large or /medium and IH resizes that image into the /bmz_cache directory based on your size-related specifications.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
IH doesn't use the images/large or images/medium directories. You just upload the image (whether the product's base or an additional) in its largest/best-rendered size into the /images directory or a sub-directory other than /large or /medium and IH resizes that image into the /bmz_cache directory based on your size-related specifications.
Got it. Thanks for the info. Very much appreciated.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Hi Cindy - re-posting from General Questions at the suggestion of mprough :)
https://www.zen-cart.com/showthread....rver&p=1361598
1.5.5f PHP 7.1 IH 5.1.1
Additional images are not loading into directory public_html/images - not sure where to look or what to look for - seems (not validated) that this started happening after updating IH from 4.3 to 5.1.1
Question: does Image Handler determine if additional images load to the directory public_html/images? - if not what does? (if so I will have to try deleting IH and begin again?)
cheers,
Mike
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Mike, IH-5 saves the additional images, as before, to the site's /images directory.
Is there a reason why you're updating to IH 5.1.1 when the current release is 5.1.5?
When you upload an additional image, are you supplying a suffix or letting IH create one automatically?
After selecting an image with an extension that matches the 'base' product image's and clicking the 'Save' button, does the additional image display on the IH admin screen?
As always, are there any debug-logs 'thrown' when you access the IH admin?
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
Mike, IH-5 saves the additional images, as before, to the site's /images directory.
Is there a reason why you're updating to IH 5.1.1 when the current release is 5.1.5?
IH 5.1.1 was the most up to date when I upgraded from 4.3.2 earlier this year
Quote:
When you upload an additional image, are you supplying a suffix or letting IH create one automatically?
all images saved in my PC are in the usual format for additional images, imagename_001 etc[/QUOTE]
Quote:
After selecting an image with an extension that matches the 'base' product image's and clicking the 'Save' button, does the additional image display on the IH admin screen?
no and not saved in public_html/images/producttype[/QUOTE]
Quote:
As always, are there any debug-logs 'thrown' when you access the IH admin?
not seeing any error logs in public_html/logs
I don't believe I had any issues with v4.3.2 with additional images, I was just doing a general update of various plugins - problem is I haven't kept proper records of what and when.
In any case I installed 5.1.1 back in February I think but never really validated the additional images function until very recently (playing with image sizes in general trying to get an image size that would work when sharing with Facebook).
So subsequent to your response I have installed 5.1.5 and upgraded Zen Lightbox to the most recent version (1.6.5 of 14 August) but still not having any luck - additional images are non existent, anywhere, not in root/images or in IH Manager.
The problem exists on a few sites, all 1.5.5f - I know version f was a problem child for all manner of plugins so I don't know if IH 5.x.x has been validated on that particular version (I note in your readme doc that your version is validated on 1.5.5e - likely later versions also?). So not sure if 1.5.5f is the culprit or not .... OR whether it is Zen Lightbox ?? - your readme doc only refers to Fual Slimbox or ColorBox for Zen Cart as being tested with IH5 ..... are you aware of any compatibility issues with Zen Lightbox?
So I am going to delete all traces of IH and Lightbox from one site and then do a fresh install of IH 5.1.5 and test if it works, at least to the point of loading additional images into the root/images folder - if that works I will proceed with installing Fual Slimbox or ColorBox ..... if id doesn't work I will be looking for some further help.
I will keep you in the loop ... as always many thanks for helping out :)
cheers,
Mike
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
I've just submitted v1.5.6 of IH-5 to the Zen Cart moderators for review and will post back here when it's available for download.
This release contains changes associated with the following GitHub issues:
#178: Missing parameter in additional images' notification.
#180: Correct image-hover links.
#182: Use CSS buttons in admin pages. (thanks, @proseLA!)
#184: Use HTML5 document-type in admin pages. (ditto)
#185: Correct category/product search target for zc156 and later. (ditto)
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
I've just submitted v1.5.6 of IH-5 to the Zen Cart moderators for review and will post back here when it's available for download.
This release contains changes associated with the following GitHub issues:
#178: Missing parameter in additional images' notification.
#180: Correct image-hover links.
#182: Use CSS buttons in admin pages. (thanks, @proseLA!)
#184: Use HTML5 document-type in admin pages. (ditto)
#185: Correct category/product search target for zc156 and later. (ditto)
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2169
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
You may already know but you've called this new version v1.5.6 instead of v5.1.6
Easily done, I know :)
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
simon1066
You may already know but you've called this new version v1.5.6 instead of v5.1.6
Easily done, I know :)
Duh.:blush: I'll get that corrected over the next couple of days.
Update: Whew! It's only in the readme.:smile:
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Hi:
I have uploaded IH 5.1.6 onto a fresh, unmodified, 1.5.6c upload and I cannot get Image Handler to upload an image from the image file on my computer to the server.
I can navigate to the image file, and click on it but when I click on SAVE nothing happens. No image, no nothing.
My site is https://poolcuesexpress.com/156ctest
Any help would be appreciated.
Dave
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Hi:
Just uninstalled IH 5.1.6 and installed 5.1.5 and it works. Can upload files and hover works too.
Dave
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
top hatt
Hi:
I have uploaded IH 5.1.6 onto a fresh, unmodified, 1.5.6c upload and I cannot get Image Handler to upload an image from the image file on my computer to the server.
I can navigate to the image file, and click on it but when I click on SAVE nothing happens. No image, no nothing.
My site is
https://poolcuesexpress.com/156ctest
Any help would be appreciated.
Dave
Correct. Also the 'Delete' button doesn't work (second one to confirm the deletion).
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
top hatt
Hi:
I have uploaded IH 5.1.6 onto a fresh, unmodified, 1.5.6c upload and I cannot get Image Handler to upload an image from the image file on my computer to the server.
I can navigate to the image file, and click on it but when I click on SAVE nothing happens. No image, no nothing.
My site is
https://poolcuesexpress.com/156ctest
Any help would be appreciated.
Dave
Quote:
Originally Posted by
ideasgirl
Correct. Also the 'Delete' button doesn't work (second one to confirm the deletion).
I'll investigate this real soon now. I'm in the middle of a couple of other things; for now, as @top hatt indicated, it's probably best to downgrade to v5.1.5.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
Duh.:blush: I'll get that corrected over the next couple of days.
Update: Whew! It's only in the readme.:smile:
Actually, it's the name I used to create that zip-file, so it shows as zen_Image_Handler-1.5.6.zip. That'll be corrected for the IH 5.1.7 release.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
Actually, it's the name I used to create that zip-file, so it shows as zen_Image_Handler-1.5.6.zip. That'll be corrected for the IH 5.1.7 release.
I've got a correction staged on the plugin's GitHub repository (https://github.com/DivaVocals/zen_Im...ler/issues/191). That will be included in the forthcoming v5.1.7 release.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
My images can't be found on Google searches at all. Is that normal for IH images? I can only find images displaying from my dev site before IH was set to resize images.
Also, I saw on the IH4 support thread that the issue of images displaying on mouseover on Chrome isn't going to be fixed and instead the feature will be removed in future?
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
mjf91331
My images can't be found on Google searches at all. Is that normal for IH images? I can only find images displaying from my dev site before IH was set to resize images.
Also, I saw on the IH4 support thread that the issue of images displaying on mouseover on Chrome isn't going to be fixed and instead the feature will be removed in future?
For your first question, is it that images aren't being displayed on your store's product pages, when they're displayed as a result of a Google search _OR_ is it that images previously found by Google searches (prior to IH being configured to resize images) can't be found when they're displayed as a result of a Google search?
You're correct; the image-display-on-hover feature (which has been problematic in its positioning for years) will be removed in a future IH-5 release.
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
v1.5.5f php7.1 IH 5.1.5
Hi Cindy - I am getting a lot of error logs (every few minutes) stating;
PHP Warning: strpos(): Empty needle in /home/xxxxx/public_html/includes/classes/bmz_image_handler.class.php on line 181
I only discovered the errors recently - they apparently began when I upgraded to IH5.1.3 from IH?(5.1.1, I think)
I just upgraded to IH5.1.5 but still getting the same errors
I compared that line with the corresponding line in the same filename from v5.1.3 (line 177) and it is the same - so not making sense to me.
below is a copy of one error log -
cheers,
Mike
Code:
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/templates/westminster_new/sideboxes/tpl_whats_new.php:19]
#6 require(/home/treeofl3/public_html/includes/templates/westminster_new/sideboxes/tpl_whats_new.php) called at [/home/treeofl3/public_html/includes/modules/sideboxes/whats_new.php:27]
#7 require(/home/treeofl3/public_html/includes/modules/sideboxes/whats_new.php) called at [/home/treeofl3/public_html/includes/modules/westminster_new/column_left.php:40]
#8 require(/home/treeofl3/public_html/includes/modules/westminster_new/column_left.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:208]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/templates/westminster_new/sideboxes/tpl_whats_new.php:19]
#6 require(/home/treeofl3/public_html/includes/templates/westminster_new/sideboxes/tpl_whats_new.php) called at [/home/treeofl3/public_html/includes/modules/sideboxes/whats_new.php:27]
#7 require(/home/treeofl3/public_html/includes/modules/sideboxes/whats_new.php) called at [/home/treeofl3/public_html/includes/modules/westminster_new/column_left.php:40]
#8 require(/home/treeofl3/public_html/includes/modules/westminster_new/column_left.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:208]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/templates/westminster_new/sideboxes/tpl_whats_new.php:19]
#6 require(/home/treeofl3/public_html/includes/templates/westminster_new/sideboxes/tpl_whats_new.php) called at [/home/treeofl3/public_html/includes/modules/sideboxes/whats_new.php:27]
#7 require(/home/treeofl3/public_html/includes/modules/sideboxes/whats_new.php) called at [/home/treeofl3/public_html/includes/modules/westminster_new/column_left.php:40]
#8 require(/home/treeofl3/public_html/includes/modules/westminster_new/column_left.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:208]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/functions/functions_lookups.php:642]
#6 zen_get_products_image() called at [/home/treeofl3/public_html/includes/modules/product_prev_next.php:121]
#7 require(/home/treeofl3/public_html/includes/modules/product_prev_next.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:92]
#8 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/functions/functions_lookups.php:642]
#6 zen_get_products_image() called at [/home/treeofl3/public_html/includes/modules/product_prev_next.php:122]
#7 require(/home/treeofl3/public_html/includes/modules/product_prev_next.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:92]
#8 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/extra_functions/zen_lightbox.php:31]
#5 zen_lightbox() called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php:25]
#6 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:60]
#7 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:178]
#8 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php:25]
#6 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:60]
#7 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:178]
#8 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php:37]
#6 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_modules_main_product_image.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:60]
#7 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:178]
#8 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/classes/observers/ImageHandlerObserver.php:69]
#5 ImageHandlerObserver->update() called at [/home/treeofl3/public_html/includes/classes/class.base.php:103]
#6 base->notify() called at [/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php:114]
#7 require(/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
#8 require(/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
#9 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:178]
#10 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#11 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php:120]
#6 require(/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
#7 require(/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
#8 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:178]
#9 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#10 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/html_output.php:207]
#5 zen_image() called at [/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php:131]
#6 require(/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
#7 require(/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
#8 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:178]
#9 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#10 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
[05-Nov-2019 09:57:17 Australia/Sydney] Request URI: /tree-of-life-necklaces/tree-of-life-necklace-antique-tree-on-large-link-silver-chain, IP address: 54.36.149.46
#1 strpos() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:181]
#2 ih_image->determine_image_sizetype() called at [/home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php:92]
#3 ih_image->__construct() called at [/home/treeofl3/public_html/includes/functions/extra_functions/functions_bmz_image_handler.php:106]
#4 handle_image() called at [/home/treeofl3/public_html/includes/functions/extra_functions/zen_lightbox.php:31]
#5 zen_lightbox() called at [/home/treeofl3/public_html/includes/classes/observers/FualSlimboxObserver.php:56]
#6 FualSlimboxObserver->update() called at [/home/treeofl3/public_html/includes/classes/class.base.php:103]
#7 base->notify() called at [/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php:158]
#8 require(/home/treeofl3/public_html/includes/modules/westminster_new/additional_images.php) called at [/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
#9 require(/home/treeofl3/public_html/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php:73]
#10 require(/home/treeofl3/public_html/includes/templates/westminster_new/templates/tpl_product_info_display.php) called at [/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php:178]
#11 require(/home/treeofl3/public_html/includes/modules/pages/product_info/main_template_vars.php) called at [/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php:253]
#12 require(/home/treeofl3/public_html/includes/templates/westminster_new/common/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]
[05-Nov-2019 09:57:17 Australia/Sydney] PHP Warning: strpos(): Empty needle in /home/treeofl3/public_html/includes/classes/bmz_image_handler.class.php on line 181
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Mike, what's your site's setting for Configuration->Images->Product Info - Image Large Suffix? I'm guessing that it's blank! Change that back to _LRG (the default) and those notices should go away.
I'll get IH-5 updated to more properly deal with that situation!
Update: GitHub issue: https://github.com/DivaVocals/zen_Im...ler/issues/193
-
Re: Image Handler 5 images missing after upgrade from 4 to IH5
Quote:
Originally Posted by
lat9
Mike, what's your site's setting for
Configuration->Images->Product Info - Image Large Suffix? I'm guessing that it's blank! Change that back to _LRG (the default) and those notices should go away.
I'll get IH-5 updated to more properly deal with that situation!
Update: GitHub issue:
https://github.com/DivaVocals/zen_Im...ler/issues/193
Hi Cindy - your guess was spot on! (can you guess some lotto numbers for me too please? :D) - all is now good.
Thanks so much,
Mike