Hello friends, I have configured attachment_f. It''s working fine on Local(development) system but giving problem on production. Basically on production the attachment_fu is not able to generate thumbnail image it saving the original size image. Below is the configuration. has_attachment :content_type => :image, :storage => :file_system, :max_size => 500.kilobytes, :thumbnails => {:thumb => ''170x60>''}, :processor => ''Rmagick'', :path_prefix => ''public/store_images'' Is any idea what can be an issue? Regards Abhi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Can be a filesystem permision problem. Can you see the log/ production.log file and post the relevant section? Regards. Franco Catena. On Apr 21, 3:37 pm, Abhishek shukla <bettera...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello friends, > I have configured attachment_f. It''s working fine on Local(development) > system but giving problem on production. Basically on production the > attachment_fu is not able to generate thumbnail image it saving the original > size image. Below is the configuration. > > has_attachment :content_type => :image, > :storage => :file_system, > :max_size => 500.kilobytes, > :thumbnails => {:thumb => ''170x60>''}, > :processor => ''Rmagick'', > :path_prefix => ''public/store_images'' > > Is any idea what can be an issue? > > Regards > Abhi
Sorry, I reply my reply because I omit the "original image is saved" part. Anyway, take a look at the log/production.log and tell us what you see. Regards. Franco Catena. On Apr 21, 9:08 pm, Franco Catena <francocat...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Can be a filesystem permision problem. Can you see the log/ > production.log file and post the relevant section? > > Regards. > > Franco Catena. > > On Apr 21, 3:37 pm, Abhishek shukla <bettera...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hello friends, > > I have configured attachment_f. It''s working fine on Local(development) > > system but giving problem on production. Basically on production the > > attachment_fu is not able to generate thumbnail image it saving the original > > size image. Below is the configuration. > > > has_attachment :content_type => :image, > > :storage => :file_system, > > :max_size => 500.kilobytes, > > :thumbnails => {:thumb => ''170x60>''}, > > :processor => ''Rmagick'', > > :path_prefix => ''public/store_images'' > > > Is any idea what can be an issue? > > > Regards > > Abhi
Is ImageMagick installed? On Apr 21, 11:37 am, Abhishek shukla <bettera...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello friends, > I have configured attachment_f. It''s working fine on Local(development) > system but giving problem on production. Basically on production the > attachment_fu is not able to generate thumbnail image it saving the original > size image. Below is the configuration. > > has_attachment :content_type => :image, > :storage => :file_system, > :max_size => 500.kilobytes, > :thumbnails => {:thumb => ''170x60>''}, > :processor => ''Rmagick'', > :path_prefix => ''public/store_images'' > > Is any idea what can be an issue? > > Regards > Abhi