Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: PHP Error message when resizing/uploading images  (Read 2785 times)

0 Members and 1 Guest are viewing this topic.

Nashboy

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
PHP Error message when resizing/uploading images
« on: March 31, 2005, 11:30:13 am »

I have recently began using the Kubrick theme. I amended several config settings to get the coppermine pages display to my satisfaction. Unhelpfully, I didn't make an exact note of what changes I made.

I normally upload pictures at 1024 x 768 resolution and these display and upload fine . When I upload smaller sized jpegs or try to resize them I get the following (or similar) PHP message:

Warning: imagecreatetruecolor(): Invalid image dimensions in *my.website.com*/coppermine/include/picmgmt.inc.php on line 216

Furthermore previously uploaded thumbnail and original size pictures display ok but intermediate pictures don't display at all.

Please note again this problem only applies to non standard (i.e. not 1024 x 768) sized pictures.

Thanks a lot
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.