[Solved]: funny colors on thumbnails [Solved]: funny colors on thumbnails
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: funny colors on thumbnails

Started by dom6791, June 16, 2004, 05:27:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dom6791

After uploading the picture, the normal_ and thumb_ files are created using funny colors. Some with a blue hue and othes with looking like negatives. This has always worked, nothings changed, so what gives? Could the size of the images have something to do with it? Most of these new files that Im uploading are almost 1MB. Any ideas would be appreciated. ::)

hyperion

Are you using GD1? If so, your host may have upgraded to GD2.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dom6791

Sorry if this is a rudementary question, but how can I tell if I'm using GD1?
???

Joachim Müller


dom6791

Ok, phpinfo() has shown that my hosts GD version is: 2.0 or higher.
I can't find anything in the documentation or FAQs that tell me what should I do in this instance?
Do I need to recompile?

Joachim Müller

check coppermine config - there has to be the same GD version your server has (GD2 in your case) specified for "Method for resizing images". If you have "GD1" there, set it to GD2. You have to understand that this won't affect your existing thumbnails, but only those you create fromm scratch. If new thumbs are being created correctly after modifying the GD settings in coppermine config, you can rebuild your "broken" thumbs with the admin tools (resize utility from the admin menu).

GauGau

dom6791

 ;D GauGau- I just wanted to say thank you. Changing that setting to GD2 did the trick!!