Shaun Perkinson
2007-Dec-02 20:12 UTC
attachment_fu doesn''t generate thumbnails on windows
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 Clarke''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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---