1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00
phorge-phorge/webroot/rsrc/image/icon/lightbox
Bob Trahan 3ffc764141 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
2012-10-22 19:06:56 -07:00
..
close-2.png Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
close-hover-2.png Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
left-arrow-2.png Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
left-arrow-hover-2.png Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
right-arrow-2.png Introduce lightbox view for images 2012-10-22 19:06:56 -07:00
right-arrow-hover-2.png Introduce lightbox view for images 2012-10-22 19:06:56 -07:00