Touch-friendly Image Zoom Component for Vue.js

Vue Image Zoomer is a lightweight, responsive image zoom component for Vue.js 2, which also works on touchscreen devices. Perfect for enlarging product images on an e-commerce site. Works on scrolling (default) or clicking on mouse devices, click to zoom on touch screens.

Performance and page loading is important, zoom images only load when needed, so only normal-sized images are loaded on page load. Wepp format is also available with backward compatibility of jpg/png for browsers that do not yet support webp. There is also an option to load the normal image and breakpoints for different resolution images at different screen sizes.

zoom out photo editor app, zoom image background, zoom in image css, jquery image zoom, how to zoom in on a picture and make it clear, zoom in zoom out pictures

How to make use of it:

1. Import and register photo zoomer.

import Vue from 'vue';
import imageZoom from 'vue-image-zoomer';
new Vue({
    el: '#app',
    components:{
      imageZoom
    }
});

2. Add your photos to Image Zoomer.

<image-zoom regular="/path/to/regular.jpg">        
</image-zoom>
<!-- OR -->
<image-zoom 
  regular="/path/to/regular.jpg" 
  zoom="/path/to/zoom.jpg">        
</image-zoom>

3. It also supports webp images.

<image-zoom 
  regular="/path/to/regular.jpg" 
  regular-webp="/path/to/regular.webp"
  zoom="/path/to/zoom.jpg"
  zoom-webp="/path/to/zoom.webp">        
</image-zoom>

4. It also allows you to fetch the correct images based on the screen size.

<image-zoom 
  regular="/path/to/regular.jpg" 
  zoom="/path/to/zoom.jpg"
  :breakpoints="[
    {
      width: 1200,
      regular: '/path/to/regular-1200.jpg',
      zoom: '/path/to/-1200.jpg'
    },
    {
      width: 992,
      regular: '/path/to/-992.jpg',
      zoom: '/path/to/-992.jpg'
    }           
  ]">        
</image-zoom>

Touch-friendly Image Zoomer For Vue, Vue Image Zoomer Plugin/Github, image zoom javascript


See Demo And Download

Official Website(samjonesigd): Click Here

This superior jQuery/javascript plugin is developed by samjonesigd. For extra Advanced Usages, please go to the official website.

Related Posts

Simple-and-Modern-Multi-Level-Sidebar-Menu-on-Bootstrap-4

[Offcanvas] Simple and Modern Multi-Level Sidebar Menu on Bootstrap 4

The multi-level sidebar menu is simple and fast on Bootstrap. So you must be aware of how to use Bootstrap itself. This plugin is fast, responsive, multi-level,…

vanilla-js-carousel

Flip Sliding Carousel Gallery Made Of CSS And Vanilla JS

Vanilla JS Carousel is a JavaScript Slider plugin for navigating objects in a 3D space just like Cover Flow. Getting started Clone or download the repo. Open…

bootstrap-5-dark-theme

Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…

vuejs-dialog-plugin

Vuejs Lightweight Prompt Based On Promise And Confirm Dialog

VUEJS DIALOG PLUGIN is a lightweight, promise-based, prompt, and dialog-based alert. Important updates The dialog will always be resolved by an object. (ie a callback to continue…

browser-alert-confirm-dialog-alert4html-js

Insert HTML Into Your Browser Alert & Confirm Dialog | alert4html.js

alert4html.js is a JavaScript library that enables you to insert HTML directly into your browser alerts while simulating Chrome alerts as well. alert4html.js is an alternative to…

Lightweight-Flexbox-Carousel-Plugin

Simple and Lightweight Flexbox Carousel Plugin With JavaScript | flexCarousel.js

Flexbox Responsive Slider – flexCarousel.js plugin is a simple and lightweight plug-in from Flexbox carousel ES6 JavaScript. An unofficial fork by Slick Carousel. Flex Carousel is a…