Last modified: 2011-03-13 18:05:50 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 T2495, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 495 - enhancement of thumbnails
enhancement of thumbnails
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: 6605 10107 14785 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-09-15 13:08 UTC by Duncan Harris
Modified: 2011-03-13 18:05 UTC (History)
4 users (show)

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


Description Duncan Harris 2004-09-15 13:08:27 UTC
The current thumbnail system as far as I can tell only works with width e.g.
250px (which is default).  This is good for portrait images, but not good for
landscapes, particularly panoramas, etc, as it renders them too small.  Making
them larger makes viewing difficult for smaller resolution screens.

What I propose therefore is an option to put in addition to the pixel width, a
percentage width option, so 100% would display a panorama photo across the width
of the page, 50% across half, for all screen resolutions.

e.g. in the form

[[image:woof.jpg|thumb|right|50%|dogs bark]]
Comment 1 Brion Vibber 2004-09-15 17:52:22 UTC
This isn't feasible; the window width can't be obtained easily and is too variable. If we rendered thumbnails at 50% of *every* visitors's browser, we 
would DoS our own servers trying to accomodate every browser configuration. It would also destroy the caching system and increase server load 
simply loading every page extra times to check with the client what its size is.

If we tried to stretch the image in the browser, it would look terrible which defeats the purpose of thumbnailing.
Comment 2 Duncan Harris 2004-09-15 18:12:49 UTC
I was principally thinking of some of the panoramic photos, which would only
appear in a certain percentage of articles; we could use guidelines to keep the
thumbnails within a reasonable byte size, or perhaps something in the syntax,
e.g. maxwidth=700px or something.
Comment 3 Brion Vibber 2004-09-15 19:54:55 UTC
Guidelines don't require software changes, and you can already set the width of a given thumbnail. Closing again.
Comment 4 Rob Church 2006-08-14 02:06:27 UTC
*** Bug 6605 has been marked as a duplicate of this bug. ***
Comment 5 Rob Church 2006-08-14 02:06:49 UTC
*** Bug 7003 has been marked as a duplicate of this bug. ***
Comment 6 Raimond Spekking 2007-06-03 13:34:22 UTC
*** Bug 10107 has been marked as a duplicate of this bug. ***
Comment 7 Brion Vibber 2008-07-10 23:06:24 UTC
*** Bug 14785 has been marked as a duplicate of this bug. ***

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