I am building website,i want to get image size i.e.width or height using jquery. here is my code,
var photograf=('url(upload/'+ nm +'.jpg)');
var imgwidth=photograf.width();
var imgheight=photograf.height();
but it's not working.i know it's wrong but i have do above thing. please help me other or correct way. thank you.