Last modified: 2008-07-29 21:07:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8316, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6316 - Creating thumbnails of PNG files is broken
Creating thumbnails of PNG files is broken
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 6317 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-15 11:52 UTC by Tim Bartel
Modified: 2008-07-29 21:07 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Bartel 2006-06-15 11:52:41 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
Comment 1 Leon Weber 2006-06-15 12:38:46 UTC
*** Bug 6317 has been marked as a duplicate of this bug. ***
Comment 2 Leon Weber 2006-06-15 12:45:05 UTC
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.
Comment 3 PS 2006-06-15 14:55:47 UTC
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.
Comment 4 Leon Weber 2006-06-15 16:05:44 UTC
another test page:
http://meta.wikimedia.org/wiki/User:Avatar/example-png-thumbnail/test2
crazy.
Comment 5 simonell 2006-06-21 22:17:14 UTC
@PS That aren't the same images. One with a description of the colors which the
other doesn't have.
Comment 6 Bill Barry 2006-12-04 08:01:57 UTC
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]]
Comment 7 Bawolff (Brian Wolff) 2007-05-07 09:47:30 UTC
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
Comment 8 Hersfold 2007-07-04 04:50:46 UTC
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.
Comment 9 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-07-29 21:07:01 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links