title: Rails html.erb mailer view: Resize an image and keep the high resolution
body: <p>I have an image with the following specs: 1920x795, resolution:300pixels inside the <code>application.html.erb</code></p>
  
  <pre><code>&lt;%= link_to image_tag('logo.png'), root_path, :class =&gt; "image_container img " %&gt;
  </code></pre>
  
  <p>and this is the css in order to resize the image:</p>
  
  <pre><code>.image_container img
    width: 94px
    height: 40px
    position: relative
  </code></pre>
  
  <p>Everything works perfectly, the image gets resized and also looks sharp too. Now, I'm trying to do the same thing inside a mailer view but I cant get the image to resize according to the css settings. The image appears at it's full size.</p>
  
  <p>Any ideas on how to resize the image inside the html.erb mailer view?</p>