1.0.5 • Published 5 years ago
@santi020k/product-gallery-image-zoom v1.0.5
Base jQuery Zoom
Instructions
$('.show').zoomImage({
layerW: 200, // Width
layerH: 200, // Height
layerOpacity: 0.5, // Transparency
layerBgc: '#000', // Background color
showPanelW: 500, // Display magnified area width
showPanelH: 500, // Display zoom area high
marginL: 20, // Magnification area from the right side of the thumbnail
marginT: 0 // Zoom in area from the top side of the thumbnail
});
DEMO
Note: I did not make this library, I only create the repo because I needed it