Page MenuHomePhabricator

Image preview for article images
Open, Needs TriagePublic

Description

A microtask for an additional step before opening our image viewer in the article section: when the user clicks an image, the image enlargens and the user can choose to either scroll away from the image or choose to open our actual image viewer (which also shows the metadata and allows browsing the other images in the article).

The enlarged image should shrink back if the user closes the preview or scrolls, similar to this: https://fat.github.io/zoom.js/. Such code exists also for Vue, for example https://github.com/francoischalifour/medium-zoom

This task is a continuation of T330179, where clicking an article image was made to open our image viewer (directly).