title: Rails Paperclip image to AXSLX file
body: <p>I'm trying to save a Paperclip image to an AXSLX file.</p>
  
  <p>This is the AXSLX code:</p>
  
  <pre><code>sheet.add_image(:image_src =&gt; imgurl, :noSelect =&gt; true, :noMove =&gt; true) do |image|
    image.width=720
    image.height=666
    image.start_at 0, 0
  end
  </code></pre>
  
  <p>imgurl from the console = </p>
  
  <pre><code>&gt;&gt; imgurl
  =&gt; "http://localhost:3000/system/attachments/attaches/000/000/161/original/donut.jpeg?1401891882"
  &gt;&gt;
  </code></pre>
  
  <p>The imgurl in a browser displays the image.</p>
  
  <p>The error I get is:</p>
  
  <pre><code>Invalid Data: jpeg?1401891882. Pic.image_src must be one of ["gif", "jpeg", "png", "jpg"].
  </code></pre>
  
  <p>Thanks for the help!</p>
  
  <p>UPDATE1</p>
  
  <p>If I use imgurl = <code>http://localhost:3000/system/attachments/attaches/000/000/161/original/donut.jpeg</code></p>
  
  <p>I get <code>file does not exist</code></p>