title: Rails Image Re-sizing on View display?
body: <p>How do I resize an existing image to, say "260x180?"</p>
  
  <p>I am using Carrierwave and Rmagick currently to upload images to my Amazon S3 storage bucket, and it creates 2 versions of the image: the original, and the thumb version( 70x70).</p>
  
  <p>Now, I know that I can create another version so that three versions would be created, including the 260x180, but I felt like that was over-clogging the storage database, and I was wondering if I could do it on a view level. </p>
  
  <p>I tried </p>
  
  <pre><code>&lt;%= image_tag(@syllabus.image_url, :size =&gt; "260x180") %&gt; 
  </code></pre>
  
  <p>but it seems like it's not working - the images are not identical sizes.</p>
  
  <p>Also, if the image is smaller than my desired output, do I need to do something different than to images that are bigger? For example, do I need to cut the bigger ones, but expand the smaller ones, or will it automatically scale to the desired size?</p>