A similar question was asked and answered using jQuery here:
Get height of width of remote image from url
function getMeta(url){ $("<img/>").attr("src", url).load(function(){ s = {w:this.width, h:this.height}; alert(s.w+' '+sh); }); } getMeta("http://page.com/img.jpg");
Luke Knepper Dec 09 '14 at 19:18 2014-12-09 19:18
source share