Last modified: 2010-05-15 15:38:13 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 T4460, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2460 - Unframed images don't have the width or height parameters set in the <img> tag
Unframed images don't have the width or height parameters set in the <img> tag
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.5.x
All All
: Low minor with 2 votes (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
http://test.leuksman.com/index.php/Us...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-19 20:27 UTC by David Benbennick
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

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


Attachments

Description David Benbennick 2005-06-19 20:27:15 UTC
An image without a frame or thumbnail, i.e.
  [[Image:Echinops-ritro.JPG|left|100px]]
does not have the width and height parameters set in the <img> tag.  It is
important to always set these parameters so that browsers know how to render the
page before downloading all the images.
Comment 1 Antoine "hashar" Musso (WMF) 2005-06-27 01:58:22 UTC
Almost fixed. WIDTH="##" is now shown. HEIGHT="" is currently
undefined. Opening a new bug for the new issue.
Comment 2 Antoine "hashar" Musso (WMF) 2005-06-27 02:10:24 UTC
Used another method instead. Now properly grab height from
the generated thumbnail object.
Comment 3 David Benbennick 2005-06-28 15:24:12 UTC
I'm reopening this bug.  On [[Jordan, Guimaras]], for example, the 
image tag has
   width="" height=""
which makes the image not show up at all (at least in IE6).
Comment 4 River Tarnell 2005-06-28 15:25:09 UTC
that is bug 2560, not this one 
Comment 5 David Benbennick 2005-06-28 16:01:32 UTC
Alright, bug 2560 is now listed as resolved.  The height and width 
parameters have been entirely removed.  Which means this bug is 
still open.  One still needs the height and width parameters set to 
the actual size of the image.
Comment 6 David Benbennick 2005-07-01 18:37:36 UTC
I'm setting this as FIXED again.  The width and height parameters are now set.  They aren't 
set /right/ (see bug 2616) but that's a separate issue.
Comment 7 David Benbennick 2005-07-04 18:04:31 UTC
As of right now on the English Wikipedia, the width parameter to <img> is set,
but not the height parameter.  Reopening this bug.
Comment 8 Brion Vibber 2005-07-04 19:37:18 UTC
Someone made a temporary hack removing the height parameter instead of fixing it. :)

Should be working now.

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


Navigation
Links