width() not returning a value
<p>I have an image in a page that I am trying to get the width of. </p>

<pre><code>&lt;img class="zoomerIcon" src="zoomer.png" /&gt;
</code></pre>

<p>So I'm trying to get the width like this.</p>

<pre><code>var imageWidth = $('.zoomerIcon').width();
</code></pre>

<p>However the value is 0 unless I set the width property in the  tag.</p>

<p>Does width() only return a width greater than 0 if it's manually set in the property? You can see the whole script here.</p>

<p><a href="http://www.wantedcreative.com/development/zoomer/index.html" rel="nofollow">http://www.wantedcreative.com/development/zoomer/index.html</a></p>

<p>Thanks</p>
