Re: Image Handler 5 (for v1.5.5) Support Thread
Running zc v2.0.1 and error log shows:
PHP Warning: imagecreatefrompng(): gd-png: libpng warning: iCCP: known incorrect sRGB profile in /.../includes/classes/bmz_image_handler.class.php on line 953.
Re: Image Handler 5 (for v1.5.5) Support Thread
Make sure your image has the correct RGB colour profile.
You can set it e.g. in GIMP
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
Shop Suey
Make sure your image has the correct RGB colour profile.
You can set it e.g. in GIMP
:thumbsup:
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
Shop Suey
Make sure your image has the correct RGB colour profile.
You can set it e.g. in GIMP
Thank you! What is the CORRECT RGB color profile?
Re: Image Handler 5 (for v1.5.5) Support Thread
Options are Grayscale, Indexed and RGB.
Go with "RGB" which is a full bandwith colour profile supported by convert libraries.
This also applies to other image formats. You're going to have trouble when you work witg Grayscale or Indexed colour profiles. If you want a B/W image, just reduce the saturation instead of changing the colour profile.
If you're using other image editing software it doesn't matter which Full bandwith RGB profile you choose. They are just a kind of Lookup Table.
It's important your image file is not indexed with reduced colours (4 bit, 8 bit and so on).
GIMP is really handy for this kind of fixing files to match standards conversion libraries often need.
Re: Image Handler 5 (for v1.5.5) Support Thread
Running zc v2.0.1 and error log shows a new error:
--> PHP Warning: Undefined array key 1 in /...htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
--> PHP Warning: Undefined array key 2 in /.../htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
Thank you in advance!
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
siilike1232
Running zc v2.0.1 and error log shows a new error:
--> PHP Warning: Undefined array key 1 in /...htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
--> PHP Warning: Undefined array key 2 in /.../htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
Thank you in advance!
Those aren't the full logs for the associated issue. Without the backtrace that is included for each of those logs, I don't have enough information to determine what's up.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
Those aren't the full logs for the associated issue. Without the backtrace that is included for each of those logs, I don't have enough information to determine what's up.
Here are the full logs:
Request URI: /index.php?main_page=product_info&cPath=5_6&products_id=425, IP address: 54.36.148.169, Language id 2
#0 /.../htdocs/includes/classes/bmz_image_handler.class.php(1055): zen_debug_error_handler()
#1 /.../htdocs/includes/classes/bmz_image_handler.class.php(856): ih_image->get_background_rgb()
#2 /.../htdocs/includes/classes/bmz_image_handler.class.php(430): ih_image->resize_imageGD()
#3 /.../htdocs/includes/classes/bmz_image_handler.class.php(282): ih_image->get_resized_image()
#4 /.../htdocs/includes/functions/extra_functions/functions_bmz_image_handler.php(154): ih_image->get_local()
#5 /.../htdocs/includes/functions/html_output.php(215): handle_image()
#6 /.../htdocs/includes/templates/bootstrap/templates/tpl_modules_main_product_image.php(19): zen_image()
#7 /.../htdocs/includes/templates/bootstrap/templates/tpl_product_info_display.php(61): require('/data01/virt991...')
#8 /.../htdocs/includes/modules/pages/product_info/main_template_vars.php(140): require('/data01/virt991...')
#9 /.../htdocs/includes/templates/bootstrap/common/tpl_main_page.php(227): require('/data01/virt991...')
#10 /.../htdocs/index.php(94): require('/data01/virt991...')
--> PHP Warning: Undefined array key 1 in /.../htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
Request URI: /index.php?main_page=product_info&cPath=5_6&products_id=425, IP address: 54.36.148.169, Language id 2
#0 /.../htdocs/includes/classes/bmz_image_handler.class.php(1055): zen_debug_error_handler()
#1 /.../htdocs/includes/classes/bmz_image_handler.class.php(856): ih_image->get_background_rgb()
#2 /.../htdocs/includes/classes/bmz_image_handler.class.php(430): ih_image->resize_imageGD()
#3 /.../htdocs/includes/classes/bmz_image_handler.class.php(282): ih_image->get_resized_image()
#4 /.../htdocs/includes/functions/extra_functions/functions_bmz_image_handler.php(154): ih_image->get_local()
#5 /.../htdocs/includes/functions/html_output.php(215): handle_image()
#6 /.../htdocs/includes/templates/bootstrap/templates/tpl_modules_main_product_image.php(19): zen_image()
#7 /.../htdocs/includes/templates/bootstrap/templates/tpl_product_info_display.php(61): require('/data01/virt991...')
#8 /.../htdocs/includes/modules/pages/product_info/main_template_vars.php(140): require('/data01/virt991...')
#9 /.../htdocs/includes/templates/bootstrap/common/tpl_main_page.php(227): require('/data01/virt991...')
#10 /.../htdocs/index.php(94): require('/data01/virt991...')
--> PHP Warning: Undefined array key 2 in /.../htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
siilike1232
Here are the full logs:
Request URI: /index.php?main_page=product_info&cPath=5_6&products_id=425, IP address: 54.36.148.169, Language id 2
#0 /.../htdocs/includes/classes/bmz_image_handler.class.php(1055): zen_debug_error_handler()
#1 /.../htdocs/includes/classes/bmz_image_handler.class.php(856): ih_image->get_background_rgb()
#2 /.../htdocs/includes/classes/bmz_image_handler.class.php(430): ih_image->resize_imageGD()
#3 /.../htdocs/includes/classes/bmz_image_handler.class.php(282): ih_image->get_resized_image()
#4 /.../htdocs/includes/functions/extra_functions/functions_bmz_image_handler.php(154): ih_image->get_local()
#5 /.../htdocs/includes/functions/html_output.php(215): handle_image()
#6 /.../htdocs/includes/templates/bootstrap/templates/tpl_modules_main_product_image.php(19): zen_image()
#7 /.../htdocs/includes/templates/bootstrap/templates/tpl_product_info_display.php(61): require('/data01/virt991...')
#8 /.../htdocs/includes/modules/pages/product_info/main_template_vars.php(140): require('/data01/virt991...')
#9 /.../htdocs/includes/templates/bootstrap/common/tpl_main_page.php(227): require('/data01/virt991...')
#10 /.../htdocs/index.php(94): require('/data01/virt991...')
--> PHP Warning: Undefined array key 1 in /.../htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
Request URI: /index.php?main_page=product_info&cPath=5_6&products_id=425, IP address: 54.36.148.169, Language id 2
#0 /.../htdocs/includes/classes/bmz_image_handler.class.php(1055): zen_debug_error_handler()
#1 /.../htdocs/includes/classes/bmz_image_handler.class.php(856): ih_image->get_background_rgb()
#2 /.../htdocs/includes/classes/bmz_image_handler.class.php(430): ih_image->resize_imageGD()
#3 /.../htdocs/includes/classes/bmz_image_handler.class.php(282): ih_image->get_resized_image()
#4 /.../htdocs/includes/functions/extra_functions/functions_bmz_image_handler.php(154): ih_image->get_local()
#5 /.../htdocs/includes/functions/html_output.php(215): handle_image()
#6 /.../htdocs/includes/templates/bootstrap/templates/tpl_modules_main_product_image.php(19): zen_image()
#7 /.../htdocs/includes/templates/bootstrap/templates/tpl_product_info_display.php(61): require('/data01/virt991...')
#8 /.../htdocs/includes/modules/pages/product_info/main_template_vars.php(140): require('/data01/virt991...')
#9 /.../htdocs/includes/templates/bootstrap/common/tpl_main_page.php(227): require('/data01/virt991...')
#10 /.../htdocs/index.php(94): require('/data01/virt991...')
--> PHP Warning: Undefined array key 2 in /.../htdocs/includes/classes/bmz_image_handler.class.php on line 1055.
It 'sounds like' you've got invalid settings for Configuration :: Images :: IH {small|medium|large} images background. Please post a screenshot of your site's Configuration :: Images configuration settings.
1 Attachment(s)
Re: Image Handler 5 (for v1.5.5) Support Thread
Quote:
Originally Posted by
lat9
It 'sounds like' you've got invalid settings for Configuration :: Images :: IH {small|medium|large} images background. Please post a screenshot of your site's Configuration :: Images configuration settings.
Here is the screenshot:
Attachment 20672