Skip to content
shows zoomed image inside original
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Demo
Source
README.md
package.yml

README.md

Zoomer

Zoomer is simple and nice image zoom class. It's shows zoomed image inside original.

Screenshot

How to use

demo

Example 1:

html

<img src="gomer-small.jpg" id="homer" big="gomer.jpg"/>

js

new Zoomer('homer');

big attribute - big image src.

Example 2:

html

<img src="girl-thumb.jpg" id="girl"/>

js

new Zoomer('girl', {
    big: 'girl.jpg',
    smooth: 10
});

options:

  • big - big image src
  • smooth(integer) - smooth
Something went wrong with that request. Please try again.