Page MenuHomePhabricator

As a user, when clicking on an image in Media Viewer I want to know in advance if it's going to trigger a download
Open, LowPublic

Description

Problem

For most images, when you're in Media Viewer and click/zoom on them (with the magnifying glass cursor), you are sent to the URL of the asset (e.g. clicking on the image here https://en.wikipedia.org/wiki/Charlie_Chaplin#/media/File:Chaplin_in_Sherlock_Holmes.jpg sends you here https://upload.wikimedia.org/wikipedia/commons/7/72/Chaplin_in_Sherlock_Holmes.jpg). However for certain images (.tiffs at least, maybe others), have different behavior. Instead of sending you to the asset URL, instead the browser triggers a download of the file.

Reproduce

  1. Go to https://en.wikipedia.org/wiki/Pacific_Ocean
  2. Scroll to the History section and click on the second to last image (Map of the Pacific Ocean during European Exploration, circa 1754.)
  3. Click on the image again

Expected
You would navigate to the asset URL

Actual
Browser triggers download of asset

Environments Observed

Browser Version
Google Chrome v64.0.3282.186
Firefox v58.0.2 (64-bit)

OS Version
macOS High Sierra 10.13.3

Device Model
MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)

Device Language
English

Proposal

Provide some kind if indication, whether through use of a different cursor (although there aren't any obvious choices, perhaps .s-resize would be somewhat indicative of "download") or through a tooltip, that clicking the image will trigger a download

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 8 2018, 7:52 PM
Tgr added a subscriber: Tgr.Mar 8 2018, 9:47 PM
Tgr added a comment.Mar 8 2018, 9:49 PM

Probably the fake zoom feature should not be enabled on such images in the first place. There is already a download dialog which does not surprise users by transferring hundreds of megabytes, which is the typical size for a tiff.

Ramsey-WMF triaged this task as Low priority.
Ramsey-WMF moved this task from Untriaged to Needs Design on the Multimedia board.
Ramsey-WMF added a subscriber: Ramsey-WMF.

I don't see this as a huge priority now, but something to keep in mind when we revamp MultimediaViewer for Structured Data anyway.

stjn added a subscriber: stjn.Aug 30 2018, 3:55 PM

A more general approach would also be to not show zoom-in icon if on click there won’t be any enlargement from going to the asset URL, since I’d think that many users would find this confusing (and maybe even going against the spec? haven’t investigated it).

simon04 moved this task from Backlog to Design on the MediaViewer board.Jun 10 2019, 7:03 AM
Tgr removed a subscriber: Tgr.Tue, Jul 9, 6:03 PM