title: Rails 6 Axlsx Excel Gem - Images not displaying
body: <p>I don't know if it's my fault or if it just doesn't work with Rails 6, but my images in the file are not displaying:</p>
  
  <p>I tried:</p>
  
  <pre><code>img = File.expand_path(Rails.root+'app/assets/images/logo.jpg')
  </code></pre>
  
  <p>and also like described in the examples:</p>
  
  <pre><code>img = File.expand_path('../logo.jpg', __FILE__)
  
  sheet.add_image(:image_src =&gt; img, :noSelect =&gt; true, :noMove =&gt; true) do |image|
              image.start_at 5, 20
              image.end_at 7, 22
  end
  </code></pre>
  
  <p>The image is found (at least I don't get an error for this) but the only thing I see in the generated file (the rest of the creation works fine) is:</p>
  
  <p><a href="https://i.stack.imgur.com/L7If2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/L7If2.png" alt="enter image description here"></a></p>
  
  <p>Could it be the image size not fitting in the cells? Or is it resizing automatically?</p>
  
  <p>Any suggestions or ideas? I don't know what's wrong or what else I could try</p>