Project

General

Profile

Preview images broken in 2.1.0

Added by John Reynolds over 12 years ago

Hello,

I updated from 2.0.3 to 2.0.4 and then 2.1.0 last night. The upgrade went really well - the only thing I can find "broken" are the image previews, all of which are .png. I tried .jpg and got the same result. Below is the div of one of the broken links.

Environment:
Redmine: 2.1.0 stable
Ruby: 1.9.3
Rails: 3.2.8
environment: production
Database adapter: Mysql2
Redmine plugins: none

OS: Ubuntu 12.04, patch compliant
RMajick is working fine

<div class="attachments">
<p><a href="/attachments/download/1546/9-21-2012%2010-27-34%20AM.jpg" class="icon icon-attachment">9-21-2012 10-27-34 AM.jpg</a>   - test
  <span class="size">(6.51 KB)</span>
    <a href="/attachments/1546" class="delete" data-confirm="Are you sure?" data-method="delete" rel="nofollow" title="Delete"><img alt="Delete" src="/images/delete.png?1347800078" /></a>
    <span class="author">Bob Jones, 09/21/2012 10:27 am</span>
  </p>
  <div class="thumbnails">
      <div><a href="/attachments/1546/9-21-2012%2010-27-34%20AM.jpg" title="9-21-2012 10-27-34 AM.jpg"><img alt="1546" src="/attachments/thumbnail/1546" /></a></div>
  </div>
</div>


Replies (2)

RE: Preview images broken in 2.1.0 - Added by Jean-Philippe Lang about 12 years ago

Thumbnails generation does not use RMagick. You need the `convert` binary from ImageMagick to be available in your PATH.

RE: Preview images broken in 2.1.0 - Added by John Reynolds about 12 years ago

That did it - thank you so much!
I installed ImageMagick (which I thought was already installed) and that did the trick.

    (1-2/2)