Option to turn off secondary zoom
Unless I am missing something, there does not appear to be an option to control whether or not the secondary zoom (ie the zoom in that occurs when user clicks an image that can be larger than the initial zoomed-in size). I have used the getDoubleTapZoom() option to set the maximum zoom to item.initialZoomLevel, but this doesn't prevent the cursor changing to a magnifier when it's over the image. I simply want the image to always close when it's clicked, unless a left/right arrow is clicked of course.
For the time being I've changed ui.onGlobalTap() to call close() regardless of whether it's zoomable. It works fine but is an ugly solution and would much prefer an option.