Skip to content

sesubash/Javascript-Image-Resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Javascript-Image-Resizer

Javascript Plugin to resize image proportioanly and by clipping remaining area

usage - html

<img id="myImg" src="url.jpg" onLoad="resizeImage(this)">
<img id="clipImage" src="url.jpg" onLoad="clipImg(this)">

JavaScript

function resizeImage(img){ ImageResizer.fixImage(img,215,217); }

function clipImg(img){ ImageResizer.clipImage(img,215,217); }

About

Javascript Plugin to resize image proportioanly and by clipping remaining area

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published