MultimediaViewer: Add a class for images, which shouldn't display in MediaViewer
Closed, DeclinedPublic


The second image (e.g. FOSS icon) is a portal icon and doesn't belong to the article itself.

Version: unspecified
Severity: normal


bzimport set Reference to bz63727.
bzimport added a subscriber: Unknown Object (MLST).

(Pretty sure this is a duplicate ; cannot find it though).

It think this is covered by & should add a CSS class for MMV to detect useless icons.

Tgr added a comment.Jun 26 2014, 6:58 PM

Wontfixing; sometimes we want to display images from templates (e.g. infoboxes, main page), and there is no easy way to differentiate between them anyway. Templates with non-content images should have a "metadata" class, which disables MediaViewer for the images inside.

Tgr added a comment.Jun 28 2014, 9:02 AM

You can also use the "noviewer" class for more specific use cases.

Tgr added a comment.Jun 28 2014, 9:04 AM

Also, for portal icons etc. you usually want the icon to link to the portal page, not the file description page. If you do that, that will also make Media Viewer ignore the image.

Gilles moved this task from Untriaged to Done on the Multimedia board.Dec 2 2014, 8:55 AM

Add Comment