Page MenuHomePhabricator

Lightbox should have a helper to download photos
Closed, ResolvedPublic

Description

The lightbox has a "use this file" link which pops up a dialog box with some text you can cut-n-paste for on-wiki or random HTML markup containing the image... but there's no visible way to get at a medium or high-resolution copy of the image for download.

I find this is a frequent use for me, as I like to take Commons Photos of the Days as desktop or phone wallpapers, or take images to reuse in presentations etc.

Such a tool should probably offer several predetermined sizes and an "original file" download link, similar to what appears on the file description page, but .... user-friendly. :)


Version: unspecified
Severity: enhancement
URL: https://test.wikipedia.org/wiki/Lightbox_demo

Details

Reference
bz56495

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:31 AM
bzimport added a project: MediaViewer.
bzimport set Reference to bz56495.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for bringing this up.

So far, we have skirted that issue, because we didn't want the Media Viewer to become too bloated with features in its first release.

So the current plan for this release is to take you to the Commons file info page when you want to perform special operations that don't directly benefit Wikipedia, like downloading the file.

But that doesn't mean that we couldn't have a link to that file info page from the 'Use this file' panel, which Pau could include if he thinks that's a good idea.

Over time, we may be able to bring more of the Commons functionality to the Media Viewer, but we want to resist the temptation to overload this simple viewer with too many features at first. :)

Change 108526 had a related patch set uploaded by AalekhN:
resources/ext.multimediaViewer/ext.multimediaViewer.css : added css for the download icon resources/ext.multimediaViewer/ext.multimediaViewer.lightboxinterface.js : added download js commands resources/ext.multimediaViewer/img/download.svg : download imag

https://gerrit.wikimedia.org/r/108526

Change 108526 abandoned by AalekhN:
resources/ext.multimediaViewer/ext.multimediaViewer.css : added css for the download icon resources/ext.multimediaViewer/ext.multimediaViewer.lightboxinterface.js : added download js command resources/ext.multimediaViewer/img/download.svg : download image

https://gerrit.wikimedia.org/r/108526

Change 111810 had a related patch set uploaded by AalekhN:
Adds download function

https://gerrit.wikimedia.org/r/111810

Change 111810 abandoned by Gergő Tisza:
Adds download function

Reason:
Thanks for the patch, Aalekh!

We ended up with a very different design for the downloaded interface, with a combined download/share/embed widget ( https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/79 ) so unfortunately we cannot use this.

https://gerrit.wikimedia.org/r/111810

We have a download widget now.