coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: mojorising on June 07, 2004, 03:21:08 AM

Title: Weird Looking Images
Post by: mojorising on June 07, 2004, 03:21:08 AM
I have recently set up coppermine and uploaded a bunch of images to it at http://s94047081.onlinehome.us/copper and as you can porobably see, the pictures look very weird -- the do not have all thier colors. Sometimes clicking on them helps in that the image appearing in the pop-up window appears as it should -- in full color but sometimes that is not an option.

Has anyone here had any similar problems or know of any possible solutions?

Thanks!

Mike
Title: Re: Weird Looking Images
Post by: hyperion on June 07, 2004, 06:01:58 AM
This is a classic case of GD1 image mutilation. GD1 never supproted true color.  Instead, it would select the first 256 colors it came across and make a palette from them.  Thus, the picture of your dog with the brown grass makes everything else a shade of brown.

You can:

1. Check to see if you have GD2 available.  If so, it is highly recommended over GD1.  If not, tell your server admin that GIF support will return this month if it has not already, so he should be able to upgrade to GD2.  

2. Check to see if you have Image Magick available. If so, try to use it over GD1 and GD2.

3. When you have better graphics software available, use the batch resize function to regenerate your thumbnails for better images.
Title: Re: Weird Looking Images
Post by: mojorising on June 08, 2004, 05:12:06 AM
Thanks for your help! I guess I'll go see if my host can put gd2 on the server or maybe if I can do it.

Mike
Title: Re: Weird Looking Images
Post by: Joachim Müller on June 08, 2004, 08:25:35 AM
to me your thumbs look as if you already have gd2 on your server, but you have configured coppermine to use gd1. Fin out what version of gd you really have (see http://coppermine.sourceforge.net/faq.php?q=VersionGD#VersionGD ) and change the config accordingly. After changing your config, your existing thumbs wn't change, only ones newly added will change. You can use the resize utility (admin tool) from the admin menu to rebuild your thumbs based on your current config settings.

GauGau
Title: Re: Weird Looking Images
Post by: mojorising on September 21, 2004, 08:23:53 AM
GauGau,

You are a genius. I do have GD2 but when I checked my settings they were on GD1. Some thumbnails still look funky but I will continue to mess w/ them to see if I can fix them. Regardless, all the full size images look good.


Mike
Title: Re: Weird Looking Images
Post by: Joachim Müller on September 21, 2004, 09:25:27 AM
use the resize tool from the admin menu to re-create the thumbs using your current settings and the issue should go away. You're encouraged to upgrade to cpg1.3.2 though.

Joachim