Page MenuHomePhabricator

Warn users if they click to enlarge huge images
Open, LowestPublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/933

Narrative

As a user, I can get a warning if I click to enlarge a huge image in Media Viewer, so that I can prevent it from crashing my browser.

Acceptance Criteria

  • After clicking, the image area becomes darkened (75%) as it is described in #942
  • If the user is trying to open a huge image (criteria to be defined by the developers based on the chances of a size to crash the browser):
  • A "large" version of the image is displayed instead of the "huge" original one.
  • A message is displayed in addition to showing the loading indicator to communicate that the full-resolution version is still available.
  • An additional 3s delay may be introduced to make sure that the user is able to read the message while waiting for the image.
  • When displaying the image or going back to the Media Viewer, none of the above elements should be visible.

Note: This issue also takes place in the File: page, so it is not new. But Media Viewer makes it a lot easier for users to accidentally load a huge file. So we should seriously consider this feature, if it is easy to implement and if we can identify a threshold that is acceptable to most community members.

Design notes

  • The loading indicator on the left, should animate as described in #924
  • The panel is dark yellow (#e0a00b) and uses a similar style to the tooltip but without a pointing triangle. The bottom border is an even darker yellow (#c68400). Text is white.

mv_mv-loading-big.png (592×821 px, 486 KB)

Related Bugs

Related Stories

#831 Enlarge images by clicking on them in Media Viewer

#924 Show animated cursor when enlarging images

Related Changesets

Event Timeline

MingleTerminator raised the priority of this task from to High.Dec 8 2014, 7:21 PM
Tgr lowered the priority of this task from High to Medium.Dec 11 2014, 12:45 AM

Lowering priority as we do not plan to work on this anytime soon.

Mass-removing the Multimedia tag from MediaViewer tasks, as this is now being worked on by the Reading department, not Editing's Multimedia team.

Jdlrobson lowered the priority of this task from Medium to Lowest.Feb 2 2016, 6:14 PM
Jdlrobson subscribed.