Last modified: 2014-05-24 13:44:32 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 T38238, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36238 - New user pref: Image size limit for embedded images
New user pref: Image size limit for embedded images
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-25 09:29 UTC by Subfader
Modified: 2014-05-24 13:44 UTC (History)
2 users (show)

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


Attachments

Description Subfader 2012-04-25 09:29:35 UTC
There is the user pref "Image size limit: (for file description pages)" which makes sense, cos when you have a low resolution monitor, you don't want images to be e.g 1000px wide.

Epic fail: It only applies to file pages!

It should apply wiki-wide, including embedded images on normal content pages.

It never bothered me but on the company wiki we use many screenshots. These are embedded as large as possible to be readable on the page itself w/o opening their file page; usually 600-1000px. 

But that's bad accessibility for people who use low resolution monitors (e.g. disabled people). MediaWiki is not barrier-free that way.


Solution: Add a new pref "Maximum size of embedded images or thumbnails".

This should override
* embedded images in full width with [[File:Example.jpg]]
* embedded images with a width [[File:Example.jpg|800px]]
* galleries <gallery widths="800px">

Using a maximum width only would work as well.
Comment 1 Brion Vibber 2013-09-29 14:06:35 UTC
I think the best place to deal with this is client-side (CSS/JS): 'max-width' etc.
Comment 2 Bawolff (Brian Wolff) 2013-09-29 15:00:02 UTC
The image size limits applies on pages if you use [[file:foo.png|thumb]]

I agree with doing this client side if we do it. Otoh if the use case is not wanting to download big images, that wouldn't work.

I would be opposed to adding another pref which the parser cache would have to vary on (the doing it server side)
Comment 3 Bawolff (Brian Wolff) 2014-05-22 22:54:35 UTC
I'm honestly leaning towards not doing this. Are there any (non-theoretical) disabled users who experiance problems due to the lack of this feature?
Comment 4 Subfader 2014-05-24 13:44:32 UTC
I don't care much anymore but
* applying the pref only on file pages makes no sense
* a solution as gadget is possible (css with max-width) but avoidable

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


Navigation
Links