Closed (duplicate)
Project:
Drupal core
Version:
6.22
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2008 at 20:15 UTC
Updated:
28 Sep 2012 at 12:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
3oheme commentedThat warning appears also if transparency index is below 255, you can check it with this gif file.
Comment #2
pribeh commentedI'm getting the same with transparent gifs. What's the deal with this?
Comment #3
cjd400 commentedso where do I find image.gd.inc?
Comment #4
bipo commentedHave you set the correct "input type" in Content/Image?
This must be of course "image format" and not "filtered html" or "full html"
Comment #5
dollar_dad commentedincludes/
And so far the hack has worked perfectly but I'll let you know if I have any problems
Comment #6
monotaga commentedsubscribe
Comment #7
dkinzer commentedwarning: imagecolorsforindex() [function.imagecolorsforindex]: Color index 65 out of range in image.gd.module on line 251
Comment #8
sbonde commentedI got the following error when trying to upload a gif image in a newly created CCK imagefield:
warning: imagecolorsforindex() [function.imagecolorsforindex]: Color index 63 out of range in image.gd.inc on line 107.
Not sure if it's realted to your problems but ImageAPI solved the problem on my site.
Comment #9
j4 commentedHi,
I am having the same error.Could you please explain what you meant when you said imageapi solved your problem? Thank you.
Jaya
Comment #10
sbonde commentedSorry for the late reply.
Now it has been so long ago I am not sure what I did, but judging from my reply I think I just installed ImageAPI module and that solved the problem.
I manage a lot of Drupal sites so couldn't recall what site I experienced this problem on. :-(
Comment #11
wojtha commentedSolved for D6 here: #375062: imagecolorsforindex() Color index nnn out of range in GDToolkit and there is also patch for D7 here: #859304: Color index 255 out of range in image.gd.inc.
Closing as duplicate.