Last modified: 2008-07-29 21:07:01 UTC
Yesterday I tried to create a thumbnail and resized version of http://meta.wikimedia.org/wiki/Image:Edits_by_contributors_age_en.png - This didn't work. The image is not shown. I ignored it. Today a user told me, that there are PNG thumbnails at the wikinews mainpage, which don't show up. Examples from this user: http://en.wikinews.org/w/index.php?title=Australian_government_to_censor_3G_mobile_content&oldid=268961 http://en.wikinews.org/w/index.php?title=Template:Third_lead&oldid=268955 I re-tested my experience from yesterday - still doesn't work: http://meta.wikimedia.org/wiki/User:Avatar/example-png-thumbnail
*** Bug 6317 has been marked as a duplicate of this bug. ***
It seems to just happen at a width greater than 99px, I've added an example to Tim Bartel's test-page for that. I tried to create a thumb of a different image with thumb.php (as far as I understand the comments in thumb.php it uses the same engine to create thumbs) which worked with widths >99px.
Examples: See: http://en.wikipedia.org/wiki/User_talk:FT2#Image_thumbnail_test The first image is the original PNG, it doesn't show properly. The 2nd image is identical, in GIF format, and behaves perfectly.
another test page: http://meta.wikimedia.org/wiki/User:Avatar/example-png-thumbnail/test2 crazy.
@PS That aren't the same images. One with a description of the colors which the other doesn't have.
The problem is that a height of -1 is being returned to the browser. It seems to have been patched in the development trunk, but can be superficially fixed by specifying both a width and a height for the thumb [[Image:test.png|thumb|180x180px|caption]]
I've found lots of png's with the error: "Error creating thumbnail: Invalid thumbnail parameters" For example: [[commons:Image:Wikipe-tan Birthday.png]] and older versions of [[Image:Map showing NWFP and FATA.png]] (the ones sized 6325×7085) Browser can display these images without a problem for the non-resized version
A similar problem is occurring with jpegs as well - instead of the image, the caption is returned as a link to the image. Examples shown here, flagged with that little warning icon thingie. [http://en.wikipedia.org/wiki/User:Hersfold/Hersfold%27s_Sandbox/Thumb_test] Main problem, at least with this image, is that it occurs at the default size. I've seen it occur elsewhere, but I just noticed today that someone else is having a similar problem.
It's been one year since the last comment here, and I haven't heard widespread complaints about continuing problems. I'm closing WORKSFORME, reopen if it's still an issue.