If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

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

Started by lat9 on 15 Oct 2017, 3:54 PM · Views: 160,515

Results 621 to 640 of 774
23 Jun 2024, 2:17 PM
#621
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

Image Handler 5 (for v1.5.5 - v1.5.8) 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.

23 Jun 2024, 2:25 PM
#622
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

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

Make sure your image has the correct RGB colour profile.
You can set it e.g. in GIMP

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

23 Jun 2024, 10:52 PM
#623
lat9 avatar

lat9

Administrator

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

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

Shop Suey:

Make sure your image has the correct RGB colour profile.
You can set it e.g. in GIMP
:thumbsup:

25 Jun 2024, 10:19 AM
#624
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

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

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?

25 Jun 2024, 10:23 AM
#625
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) 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.

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

27 Jun 2024, 6:52 AM
#626
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) 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!

27 Jun 2024, 11:49 AM
#627
lat9 avatar

lat9

Administrator

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

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

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.

27 Jun 2024, 12:57 PM
#628
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

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

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.

27 Jun 2024, 2:14 PM
#629
lat9 avatar

lat9

Administrator

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

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

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.

28 Jun 2024, 6:14 AM
#630
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

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

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

30 Jun 2024, 12:37 PM
#631
lat9 avatar

lat9

Administrator

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

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

Thanks for that! It looks like the 'transparent' setting for those 3 values is the root-cause of those logs. I'll be further investigating and have created a GitHub issue (https://github.com/lat9/zen_Image-Handler/issues/17) to track associated changes.

3 Jul 2024, 8:41 AM
#632
siilike1232 avatar

siilike1232

New Zenner

Join Date:
Mar 2011
Posts:
56
Plugin Contributions:
0

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

lat9:

Thanks for that! It looks like the 'transparent' setting for those 3 values is the root-cause of those logs. I'll be further investigating and have created a GitHub issue (https://github.com/lat9/zen_Image-Handler/issues/17) to track associated changes.

I have currently solved it by replacing part on the code around line 1055:
/**
* @param $bg
*
* @return array|false
*/
protected function get_background_rgb($bg)
{
$color = false;

    $bg = trim(str_replace('transparent', '', $bg));
    list($red, $green, $blue)= preg_split('/[, :]/', $bg);
    if (preg_match('/\d+/', $red.$green.$blue)) {
        $red = min((int)$red, 255);
        $green = min((int)$green, 255);
        $blue = min((int)$blue, 255);
        $color = ['r' => $red, 'g' => $green, 'b' => $blue];
    }
    return $color;
}

Replaced with:

protected function get_background_rgb($bg)
{
$color = false;

$bg = trim(str_replace('transparent', '', $bg));
$components = preg_split('/[, :]/', $bg);

if (count($components) === 3 && preg_match('/^\d+$/', $components[0]) && preg_match('/^\d+$/', $components[1]) && preg_match('/^\d+$/', $components[2])) {
    $red = min((int)$components[0], 255);
    $green = min((int)$components[1], 255);
    $blue = min((int)$components[2], 255);
    $color = ['r' => $red, 'g' => $green, 'b' => $blue];
}

return $color;

}

3 Jul 2024, 12:35 PM
#633
lat9 avatar

lat9

Administrator

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

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

siilike1232:

I have currently solved it by replacing part on the code around line 1055:
/**
* @param $bg
*
* @return array|false
*/
protected function get_background_rgb($bg)
{
$color = false;

    $bg = trim(str_replace('transparent', '', $bg));
    list($red, $green, $blue)= preg_split('/[, :]/', $bg);
    if (preg_match('/\d+/', $red.$green.$blue)) {
        $red = min((int)$red, 255);
        $green = min((int)$green, 255);
        $blue = min((int)$blue, 255);
        $color = ['r' => $red, 'g' => $green, 'b' => $blue];
    }
    return $color;
}

Replaced with:

protected function get_background_rgb($bg)
{
$color = false;

$bg = trim(str_replace('transparent', '', $bg));
$components = preg_split('/[, :]/', $bg);

if (count($components) === 3 && preg_match('/^\d+$/', $components[0]) && preg_match('/^\d+$/', $components[1]) && preg_match('/^\d+$/', $components[2])) {
    $red = min((int)$components[0], 255);
    $green = min((int)$components[1], 255);
    $blue = min((int)$components[2], 255);
    $color = ['r' => $red, 'g' => $green, 'b' => $blue];
}

return $color;

}
Thanks for that.

19 Aug 2024, 12:13 PM
#634
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

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

im getting this error on zen version 1.56c
PHP Warning: imagecreatefrompng(): '/var/www/clients/client1/web3/web/images/product_pictures/3 Commercial Stair NosingBA_01.png' is not a valid PNG file in /var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php on line 919.

[17-Aug-2024 18:58:20 UTC] Request URI: /Metal_Trim_Transitions/Carpet_Carpet_Tile_Solutions/Carpet_Stair_Nosing/3_Commercial_Stair_Nosing/Futura_CM_609_3_Commercial_Stair_Nosing_12_Length_Buffed_Aluminum, IP address: 193.116.224.72
#1  imagecreatefrompng() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:919]
#2  ih_image->load_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:717]
#3  ih_image->resize_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:400]
#4  ih_image->get_resized_image() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:258]
#5  ih_image->get_local() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/functions_bmz_image_handler.php:123]
#6  handle_image() called at [/var/www/clients/client1/web3/web/includes/functions/html_output.php:202]
#7  zen_image() called at [/var/www/clients/client1/web3/web/includes/modules/marcus/additional_images.php:150]
#8  require(/var/www/clients/client1/web3/web/includes/modules/marcus/additional_images.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_additional_images.php:13]
#9  require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_additional_images.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php:47]
#10 require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php) called at [/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php:281]
#11 require(/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php:261]
#12 require(/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php) called at [/var/www/clients/client1/web3/web/index.php:97]
--> PHP Warning: imagecreatefrompng(): '/var/www/clients/client1/web3/web/images/product_pictures/3 Commercial Stair NosingBA_01.png' is not a valid PNG file in /var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php on line 919.
19 Aug 2024, 12:25 PM
#635
lat9 avatar

lat9

Administrator

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

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

jimmie:

im getting this error on zen version 1.56c
PHP Warning: imagecreatefrompng(): '/var/www/clients/client1/web3/web/images/product_pictures/3 Commercial Stair NosingBA_01.png' is not a valid PNG file in /var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php on line 919.

[17-Aug-2024 18:58:20 UTC] Request URI: /Metal_Trim_Transitions/Carpet_Carpet_Tile_Solutions/Carpet_Stair_Nosing/3_Commercial_Stair_Nosing/Futura_CM_609_3_Commercial_Stair_Nosing_12_Length_Buffed_Aluminum, IP address: 193.116.224.72
#1 imagecreatefrompng() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:919]
#2 ih_image->load_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:717]
#3 ih_image->resize_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:400]
#4 ih_image->get_resized_image() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:258]
#5 ih_image->get_local() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/functions_bmz_image_handler.php:123]
#6 handle_image() called at [/var/www/clients/client1/web3/web/includes/functions/html_output.php:202]
#7 zen_image() called at [/var/www/clients/client1/web3/web/includes/modules/marcus/additional_images.php:150]
#8 require(/var/www/clients/client1/web3/web/includes/modules/marcus/additional_images.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_additional_images.php:13]
#9 require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_additional_images.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php:47]
#10 require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php) called at [/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php:281]
#11 require(/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php:261]
#12 require(/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php) called at [/var/www/clients/client1/web3/web/index.php:97]
--> PHP Warning: imagecreatefrompng(): '/var/www/clients/client1/web3/web/images/[B]product_pictures/3 Commercial Stair NosingBA_01.png' is not a valid PNG file[/B] in /var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php on line 919.

That's PHP saying that it doesn't like **product_pictures/3 Commercial Stair NosingBA_01.png**.

That could be because (a) the file's not a valid .png format or (b) the file name has those unwanted blanks in its name.
10 Sep 2024, 12:51 PM
#636
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

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

i am getting thousands of theses in logs and each1 is a different picture

[10-Sep-2024 12:45:35 UTC] Request URI: /Flooring/Tile_Stone/SFI_Porcelain_Wood_Plank/SFI_Porcelain_Wood_Plank_Bullnose/Townhouse_Bullnose_Collection/Townhouse_Bullnose_6_x_24_Wood_Barrel_TY03BN, IP address: 85.208.96.194
#1  imagecreatefromjpeg() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:926]
#2  ih_image->load_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:717]
#3  ih_image->resize_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:400]
#4  ih_image->get_resized_image() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:258]
#5  ih_image->get_local() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/functions_bmz_image_handler.php:123]
#6  handle_image() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/pzen_marcus_template_functions.php:74]
#7  pzen_marcus_image() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/pzen_marcus_template_functions.php:601]
#8  pzen_marcus_additional_images() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/pzen_marcus_template_functions.php:704]
#9  get_pzen_marcus_product_content() called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_related_products.php:65]
#10 require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_related_products.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php:657]
#11 require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php) called at [/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php:281]
#12 require(/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php:261]
#13 require(/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php) called at [/var/www/clients/client1/web3/web/index.php:97]
--> PHP Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x89 0x50 in /var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php on line 926.

[10-Sep-2024 12:45:35 UTC] Request URI: /Flooring/Tile_Stone/SFI_Porcelain_Wood_Plank/SFI_Porcelain_Wood_Plank_Bullnose/Townhouse_Bullnose_Collection/Townhouse_Bullnose_6_x_24_Wood_Barrel_TY03BN, IP address: 85.208.96.194
#1  imagecreatefromjpeg() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:926]
#2  ih_image->load_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:717]
#3  ih_image->resize_imageGD() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:400]
#4  ih_image->get_resized_image() called at [/var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php:258]
#5  ih_image->get_local() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/functions_bmz_image_handler.php:123]
#6  handle_image() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/pzen_marcus_template_functions.php:74]
#7  pzen_marcus_image() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/pzen_marcus_template_functions.php:601]
#8  pzen_marcus_additional_images() called at [/var/www/clients/client1/web3/web/includes/functions/extra_functions/pzen_marcus_template_functions.php:704]
#9  get_pzen_marcus_product_content() called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_related_products.php:65]
#10 require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_modules_related_products.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php:657]
#11 require(/var/www/clients/client1/web3/web/includes/templates/marcus/templates/tpl_product_info_display.php) called at [/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php:281]
#12 require(/var/www/clients/client1/web3/web/includes/modules/pages/product_info/main_template_vars.php) called at [/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php:261]
#13 require(/var/www/clients/client1/web3/web/includes/templates/marcus/common/tpl_main_page.php) called at [/var/www/clients/client1/web3/web/index.php:97]
--> PHP Warning: imagecreatefromjpeg(): '/var/www/clients/client1/web3/web/images/product_pictures/LL04.jpg' is not a valid JPEG file in /var/www/clients/client1/web3/web/includes/classes/bmz_image_handler.class.php on line 926.
10 Sep 2024, 12:54 PM
#637
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

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

what color profile do the jpg files e.g. LL04.jpg have?

You can send it to me via mail if you don't know how to check it.

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

10 Sep 2024, 3:56 PM
#638
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

0x89 0x50 means that the image is actually a png file, but is misnammed with a jpg extension.

2 + 2 = 5 for extremely large values of 2

Pez Collectors Store •••••••• My Plugins List

10 Sep 2024, 6:44 PM
#639
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

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

gothstone:

0x89 0x50 means that the image is actually a png file, but is misnammed with a jpg extension.

hmmm... interesting bit of information....

perhaps image handler should handle files with misnamed extensions?

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

10 Sep 2024, 8:46 PM
#640
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

Possible, but a lot of work. And if you go there you might as well add in removing invalid characters, fixing double extensions, etc. Certainly wouldn't be bad if someone wants to spend the time coding it.
In case someone does, png starts with 0x89 0x50
Jpg is 0xFF 0xD8
Gif is 0x47 0x49 0x46

2 + 2 = 5 for extremely large values of 2

Pez Collectors Store •••••••• My Plugins List