archive-image-viewer

A zooming and panning plugin inspired by google photos for your web images.

Usage no npm install needed!

<script type="module">
  import archiveImageViewer from 'https://cdn.skypack.dev/archive-image-viewer';
</script>

README

ImageViewer

A zooming and panning plugin inspired by google photos for your web images.

Features

  • Smooth dragging and panning images.
  • Support touch devices.
  • Double tap to zoom in/zoom out.
  • Pinch in / pinch out to zoom in/out.
  • Snap view for easier panning and zooming experience.
  • Allow quick display of loaded image then loading high resolution image asynchronously.
  • Exposed API to control zoom programmatically.

Check http://ignitersworld.com/lab/imageViewer.html for demo and documentation .

alt tag