# Attachment\_fu doesn't generate thumbnails on windows

**URL:** <https://www.ruby-forum.com/t/attachment-fu-doesnt-generate-thumbnails-on-windows/121914>\
**Category:** Rails\
**Created:** [December 2, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/attachment-fu-doesnt-generate-thumbnails-on-windows/121914 "2007-12-02T21:12:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaunp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/35a633/32.png) [@shaunp](https://www.ruby-forum.com/u/shaunp)\
**Post date:** [December 2, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/attachment-fu-doesnt-generate-thumbnails-on-windows/121914/1 "2007-12-02T21:12:15Z")

</div>

Hi,

I’m having trouble with attachment\_fu on windows not generating any  
thumbnails on the fly. I started out trying to incorporate this into my  
app without success then tried implementing Mike C.e’s tutorial  
([http://www.clarkware.com/cgi/blosxom/2007/02/24](http://www.clarkware.com/cgi/blosxom/2007/02/24)) and got the same  
problem.

I have resolved some gotchas I found in the “attachment\_fu on Windows”  
thread

[http://www.ruby-forum.com/topic/99870?reply\_to=553924](http://www.ruby-forum.com/topic/99870?reply_to=553924)

The result is I can upload the original image ok but still no thumbnails  
are generated and the only row in my mugshots table is for the original  
image.

My Mugshot class looks like

class Mugshot \< ActiveRecord::Base

has\_attachment :content\_type =\> :image,  
:storage =\> :file\_system,  
:processor =\> ‘Rmagick’,  
:max\_size =\> 6.megabytes,  
:resize\_to =\> ‘100x100\>’,  
:thumbnails =\> { :thumb =\> ‘30x30\>’, :tiny =\> ‘10x10\>’  
}

validates\_as\_attachment

end

Is there something I’m missing here?

Cheers  
Shaun

---

<div class="post-metadata">

**Author:** ![shaunp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/35a633/32.png) [@shaunp](https://www.ruby-forum.com/u/shaunp)\
**Post date:** [February 17, 2008, 6:18am UTC](https://www.ruby-forum.com/t/attachment-fu-doesnt-generate-thumbnails-on-windows/121914/2 "2008-02-17T06:18:28Z")

</div>

Check to make sure your imagemagick and rmagick are installed  
correctly.

On Dec 2 2007, 12:12 pm, Shaun Perkinson \<rails-mailing-l…@andreas-
