Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Thumbnails colors are coming out funny using gd_library

Status
Not open for further replies.

rizza

Programmer
Jul 16, 2002
66
US
Help,

I've been using this upload and thumbnail script for this site i'm working on and the thumbnails are coming out with their colors looking weird, but the full size images look fine...I cant remeber where i got the original source from but i think it worked fine on my old site..not sure though

take a look and let me know if you've ever seen anything like it...

source code.....
 
Hint:
Inspect your thumbnail that is produced in an image editor. You will see that it is a 128 color palette GIF file. There's something with the settings for the exported thumbnail.
 
Where are you saying its a gif, the output in the browser is jpg though...i looked everywhere and couldnt find a call to use a pallet or anything...what now????


Still Confused...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top