Last modified: 2013-09-11 21:01:21 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 T44796, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42796 - Images do not resize when "frame" option is used
Images do not resize when "frame" option is used
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 47649 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-06 21:41 UTC by Peter Gehres
Modified: 2013-09-11 21:01 UTC (History)
3 users (show)

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


Attachments

Description Peter Gehres 2012-12-06 21:41:07 UTC
For example, I have a 1920x1080px image of which I want to request a 400px version. 

[[File:Wikipedia_Puzzle_Globe.jpg|right|400px|middle]]  

works just fine.  But then if I want a caption and a frame, using

[[File:Wikipedia_Puzzle_Globe.jpg|frame|right|400px|middle|The Wikipedia globe]] 

returns a frame and a caption, but the image is 1920x1080px and not 400px wide.

-- 

I don't know how far back this bug exists, but it is certainly broken on the 1.21wmf5 version on donate.wm.o as of 2012/12/06.
Comment 1 Bawolff (Brian Wolff) 2012-12-07 16:02:57 UTC
Umm, I think this is intentional and goes right back to the beginning of MediaWiki - but I'm not sure about that. [Although I've never understood why]

Why do you want a frame instead of a thumb?
Comment 2 Peter Gehres 2012-12-07 17:42:26 UTC
Well, the intent of the image is not to get a fullsize version when it is clicked on.  I am using this as a placeholder for a video, so onlick a video gets played.

I didn't use a thumb because it didn't seem appropriate for the situation and the documentation on mw:Help:Images seemed to imply that what I was doing was perfectly fine.  If that's not the case, we should make that explicit in the documentation.

Do you have any idea who would know why this was done?
Comment 3 Peter Gehres 2012-12-07 18:01:06 UTC
So, I am blind.  The following is part of the documentation:

* An image with frame always ignores the size specification, the original image will be reduced if it exceeds the maximum size defined in user preferences.

I guess I still want to know why, but clearly it is not a bug.
Comment 4 Brion Vibber 2013-09-11 21:01:21 UTC
*** Bug 47649 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.


Navigation
Links