Page MenuHomePhabricator

Large images preview and navigation (enhancement)
Open, LowPublic

Description

Author: mail2lx

Description:
What has always bothered me about MediaWiki is that large images are not nicely integrated; instead there is a small version, along with image information (which is fine), and then there is a link to the full resolution image. The problem with the full resolution image is, that it is unhandy in most browsers to view the image properly.

Yes, there is the preview, but I would love to see the full image and navigate within it, in order to see the details.

This may sound like a rather minor issue, but especially for a media library such as the WM Commons, I have always wished for a proper image viewer. And -- good news -- so I wrote one! ;)

XXLview (http://www.zirona.com/software/xxlview/) is an application I wrote especially with the WikiMedia Commons and large images in mind. So it might be worth a try to integrate it into MW. Integration is fairly easy; instead of linking directly to the large image version, the XXLview template is loaded with the image inserted. (Due to the MIT license, the template can be fully rebranded for MW.)

XXLview is based on JavaScript, but if JS is not active, you will simply see the image as usual.

If desired, I could develop a patch against the latest MW version and post it here.


Version: unspecified
Severity: enhancement

Details

Reference
bz15155

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:20 PM
bzimport set Reference to bz15155.
bzimport added a subscriber: Unknown Object (MLST).

Alex: Don't most web browsers nowadays support zooming and moving in a large picture? And is the problem described in this report mostly fixed by [[mw:Extension:MultimediaViewer]] nowadays? If not, which specific problem would you like to still get solved?

(In reply to Andre Klapper from comment #1)

Don't most web browsers nowadays support zooming and moving in a large picture?

No they don't. Firefox, for example knows 2 zoom levels: 1) Fit to screen 2) full resolution.

If you have a really large image, they still crash. That's why we have ZoomViewer http://tools.wmflabs.org/zoomviewer/?f=Vista_del_Puerto_de_Victoria_desde_Sky100,_Hong_Kong,_2013-08-09,_DD_10.JPG&flash=no