title: Resizing an image from within the Rails image tag
body: <p>I'm trying to resize an image from within a Rails image tag, but its not working.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>&lt;%= image_tag("tarmo.jpg"), :width =&gt; "50%"  %&gt;
  </code></pre>
  
  <p>This is the error message I get:</p>
  
  <pre><code>syntax error, unexpected ',', expecting ')' ...ppend=( image_tag("tarmo.jpg"), :width =&gt; "50%" );@output_b... ... ^
  </code></pre>
  
  <p>How do I fix it? </p>
  
  <p>Note: I don't want to create a CSS class, I want to do it from within the rails image tag.</p>