Remus RIGO's blog
Photography/Design/Vector/Programming help
2014-03-29
get image dimensions in JavaScript
var img = new Image();
img.src = "pathToFile";
width = img.width;
height = img.height;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment