You should verify that your configured processor, such as rmagick/
imagemagick, is installed and available to the user under which the
application runs.

On Mar 16, 9:57 pm, Tam Kbe <[email protected]> wrote:
> Hello,
>
> I'm trying to use attachment_fu in order to upload photo and create
> three versions of thumbnails (large small and medium). This works
> perfect of my mac book. but on my production server it uploads the image
> but doesn't create three version of thumbnails!! I researched on the
> site and googled a bit, and tried couple of things suggested with no
> success.
> My server has Linux Debian on it (VPS)
>
> Here is what the photo model looks like:
> ------------------------------------------------------
> class Photo < ActiveRecord::Base
>    belongs_to :account, :foreign_key => :account_id
>    belongs_to :user, :foreign_key => :user_id
>
>    has_attachment :content_type => :image,
>                   :storage => :file_system,
>                   :max_size => 500.kilobytes,
>                   :resize_to => '384x256>',
>                   :thumbnails => {
>                     :large => '150x150>',
>                     :medium => '64x64>',
>                     :small => '48x48>'
>                   }
>
>    validates_as_attachment #to prevent image sizes out of range from
> being saved
> end
> ------------------------------------------------------
>
> I checked in the log files (production.log, mongrel.log and apache error
> log with no errors showing!) Any ideas how I can approach this problem.
>
> Your help is appreciated.
>
> Tam
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to