• Resolved djhollingworth

    (@djhollingworth)


    The following happens with catablog 1.2.7 and 1.2.7.1

    When I go to replace the main image (I’ve no sub-images) on a product in my catablog All I get is a host of PHP errors:

    Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 611
    
    Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 612
    
    Warning: imagefilledrectangle(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 613
    
    Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 662
    
    Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 667
    
    Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php on line 669
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlogItem.class.php:611) in /home/test.dbahost.ie/public_html/otpb.ie/wp-content/plugins/catablog/lib/CataBlog.class.php on line 737

    The first error says invalid dimensions; but the image is only 400×400 pixels. It’s also in a jpeg (.jpg) format.

    What’s the problem?

    Regards

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author macguru2000

    (@macguru2000)

    Can you please double check that your Thumbnail and LightBox sizes are set to positive integers in the Admin CataBlog Options Panel. Thanks.

    Thread Starter djhollingworth

    (@djhollingworth)

    Hi Macguru2000

    Thanks for your reply. That did indeed fix the issue. It seems the settings got lost when I upgraded and had to be re-entered.

    Thanks for your assistance

    Regards

    David

    Plugin Author macguru2000

    (@macguru2000)

    Awesome David,

    I am curious if you remembered what version you upgraded to and what version you were upgrading from. Also it would be great if you could support me and CataBlog if you haven’t already by:

    rating and confirming that CataBlog works with your version of WordPress at
    http://ww.wp.xz.cn/extend/plugins/catablog/

    liking the Facebook page at
    http://facebook.com/catablog

    donating to my pizza and beer funds at
    http://catablog.illproductions.com/donate/

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Errors when replacing main image’ is closed to new replies.