A bit about our Image Zoom plugin: https://medium.com/designing-medium/image-zoom-on-medium-24d146fc0c20
Demo: https://fat.github.io/zoom.js
- Include
zoom.js
andzoom.css
in your application. (note: zoom.js depends on bootstrap's transition.js) - Add a
data-action="zoom"
attribute to the image tags you want to zoom.
It's the best way to zoom an image. It transition/zooms in really cleanly, and then when you're done, scrolls away, [esc] keys away, clicks away… clean af.