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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6316 - Creating thumbnails of PNG files is broken
Creating thumbnails of PNG files is broken
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 6317 (view as bug list)
Depends on:
  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: ---


Description Tim Bartel 2006-06-15 11:52:41 UTC
Yesterday I tried to create a thumbnail and resized version of - 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:

I re-tested my experience from yesterday - still doesn't work:
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

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:
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
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.
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.