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) 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
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