Image alt text
Emits when the viewer should be closed
Image filename for download
Image source URL (can be data URL or regular URL)
Whether the viewer is visible
Get transform style for image
Get current zoom percentage for display
Close the viewer
Download the image
Fit image to screen
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Handle backdrop click
Handle escape key to close
Handle mouse down for dragging
Handle mouse move for dragging
Handle mouse up to stop dragging
Handle mouse wheel for zoom
Reset to 100% zoom
Zoom in
Zoom out
Full-screen image viewer modal with zoom and pan capabilities. Provides a lightbox-style experience for viewing attachment images.