Homec4science

Introduce lightbox view for images

Authored by Bob Trahan <bob.trahan@gmail.com> on Oct 23 2012, 04:06.

Description

Introduce lightbox view for images

Summary:
images attached to maniphest tasks and mentioned in remarkup anywhere now invoke a lightbox control that lets the user page through all the images.

lightbox includes a download button, next / prev buttons, and if we're not at the tippy toppy of hte page an "X" or close button.

we also respond to left, right, and esc for navigating.

next time we should get non-images working in here...!

Test Plan:
played with maniphest - looks good
made comments with images. looks good.
made sure multiple image comments worked.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, chad

Maniphest Tasks: T1896

Differential Revision: https://secure.phabricator.com/D3705

Details

Committed
Bob Trahan <bob.trahan@gmail.com>Oct 23 2012, 04:06
Pushed
aubortJan 31 2017, 17:16
Parents
rPHddde99f80c74: Flip dem tables on E_COMPILE_ERROR
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <bob.trahan@gmail.com> committed rPH3ffc76414157: Introduce lightbox view for images (authored by Bob Trahan <bob.trahan@gmail.com>).Oct 23 2012, 04:06