Advanced search  


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: Problems using CD 2.0  (Read 2710 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Problems using CD 2.0
« on: December 11, 2003, 04:29:09 pm »

I keep getting these errors if I try using my picture album with CD 2.0, but not when using CD 1.0. The directory is all 777, so that can be the problem, at least I think.

Any one got a clue?

What are the main differences between CD1 and CD2 by the way?

Code: [Select]

The picture 'albums/userpics/10001/Sample.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /usr/local/psa/home/vhosts/ - Line: 289

Warning: imagecreatetruecolor(): requires GD 2.0 or later in /usr/local/psa/home/vhosts/ on line 183

Warning: imagecopyresampled(): requires GD 2.0 or later in /usr/local/psa/home/vhosts/ on line 184

Warning: imagejpeg(): supplied argument is not a valid Image resource in /usr/local/psa/home/vhosts/ on line 185

Warning: imagedestroy(): supplied argument is not a valid Image resource in /usr/local/psa/home/vhosts/ on line 187

Warning: chmod failed: No such file or directory in /usr/local/psa/home/vhosts/ on line 191

Warning: getimagesize: Unable to open 'albums/userpics/10001/thumb_Sample.jpg' for reading. in /usr/local/psa/home/vhosts/ on line 193

Thanks in advance!

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Problems using CD 2.0
« Reply #1 on: December 12, 2003, 09:14:07 am »

(it's GD, not CD!)
you can't simply change the setting GD1/GD2 in coppermine config and think you're done - you have to choose the image library that actually exists on your server! Take a look into the faq on how to find out your GD version.
The main difference is the usage of true color images: GD2 can, GD1 can't.
There's a set of different PHP commands dealing with images, depending on which sort of image lib you're using there are diffent commands available. Coppermine has been built to work with both - you'll get better results if you use GD2 - see
Unless you run your own server, your webhost has to install GD for you, so it's not a matter of taste, but what actually is there.

Pages: [1]   Go Up

Page created in 0.019 seconds with 18 queries.