# File\_column / rmagick does not generate thumbnails

**URL:** <https://www.ruby-forum.com/t/file-column-rmagick-does-not-generate-thumbnails/110649>\
**Category:** Rails\
**Created:** [July 28, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/file-column-rmagick-does-not-generate-thumbnails/110649 "2007-07-28T21:30:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![masone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@masone](https://www.ruby-forum.com/u/masone)\
**Post date:** [July 28, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/file-column-rmagick-does-not-generate-thumbnails/110649/1 "2007-07-28T21:30:00Z")

</div>

Hi

I am currently setting up my first production environment on a vserver  
and I ran into a problem with the plugin file\_column, respectively  
RMagick.

The image upload via file\_column works, the file is correctly stored  
on the server. But the different versions of the image are not  
generated.

file\_column :image, :magick =\> {  
:versions =\> { “thumb” =\> “50x50”, “medium” =\> “640x480\>” }  
}

RMagick seems to be properly installed and to me, it looks like the  
problem is actually file\_column because the subdirectories for the  
versions (image/id/thumb …) are not being created. I guess if it was  
only a problem generating the thumbnails, at least the directories  
would be created.

What I noticed is, that the uploaded files are owned by root and not  
by the user the server is running. So this could maybe be a permission  
problem? I am totally stuck. The script works great in my development  
environment (cygwin, windows).

I am running a mongrel cluster and deploying with capistrano, RMagick  
version is 1.15.7.

I’d really appreciate any help.  
Thanks

masone

---

<div class="post-metadata">

**Author:** ![masone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@masone](https://www.ruby-forum.com/u/masone)\
**Post date:** [July 28, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/file-column-rmagick-does-not-generate-thumbnails/110649/2 "2007-07-28T22:22:04Z")

</div>

Well, well I finally got it.

Actually for some reason my ImageMagick installation was not working  
correctly and I did not notice.  
I didn’t recheck it since I was sure it’s working and I didn’t find  
anything in the logfiles indicating RMagick or ImageMagick problems.

Sorry and thanks for any efforts.
