# Installing imagemagick

**URL:** <https://www.ruby-forum.com/t/installing-imagemagick/186026>\
**Category:** Rails\
**Created:** [March 30, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/installing-imagemagick/186026 "2010-03-30T17:01:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ESESES](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f0a364/32.png) [@ESESES](https://www.ruby-forum.com/u/ESESES)\
**Post date:** [March 30, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/installing-imagemagick/186026/1 "2010-03-30T17:01:33Z")

</div>

I installed ImageMagick and I have this in my model:

has\_attached\_file :image, :style =\> { :small =\> “150x150\>”}

then in show I have

\<%= image\_tag @analysis.image.url(:small) %\>

But the name of the file is displaying instead of a resized photo.  
Why is that?
