title: Ruby on Rails - Carrierwave get the image dimension width and height
body: <p>I need to know the width and height of the current instance of carrierwave</p>
  
  <p>For example:</p>
  
  <pre><code>image_tag image.photo_url,:width =&gt; image.photo.width, :height =&gt; image.photo.height
  </code></pre>
  
  <p>But the problem is that image.photo.width and image.photo.height are not working.</p>
  
  <p>Any ideas ?</p>