Categories




PreviousNext
get imagesize javascript    
 Send mail Views:197
Belongs to : Javascript
Facebook Bookmarkbookmark this page Digg Bookmark Delicious BookmarkStumbleupon Bookmarkshare with orkut Post to Google Buzz

get image size javascript:

To get image size in javascript use the following format:
var newImg = new Image();
newImg.src = imgSrc; //specify the image source
var height = newImg.height;
var width = newImg.width;
alert(width+"*"+height);

Pictures and Videos
Online Calculators
embed code


By - Ramya, On - 2010-03-09
Send This
PreviousNext

User Comments


Add NEW Feedback:

Name :     Email :

 Server Monitoring Web hosting by Hiox India Privacy Policy Terms and Conditions