remote image properties using jquery
<p>Currently i am trying to get remote image width/height. I am developing a link sharing module something like when you paste a link on facebook, you can see title, description and images.</p>

<p>So i tried using php getimagesize to get image width/height its very slow.</p>

<p>So i am thinking of using jquery solution to get remote image width/height so that i can filter image width less then 100px.</p>

<p>I am new in jquery/javascript</p>

<p>I tried something like</p>

<pre><code>var img = $('#imageID');
var width = img.clientWidth;
var height = img.clientHeight;
$('#info').html(width+'.. height: '+height);
</code></pre>

<p>Its not working and return undefined .. height: undefined</p>

<p>Any help is appreciated.</p>

<p>Thank you</p>
