I have a rail application, i have the feature to upload the images .
In My photo.rb :
has_attached_file :image,
:styles => { :original => "", :thumb => "" },
:path => ":rails_root/public/attachments/albums/:album_id/photos/:id/:style/:basename.:extension",
:url => "/attachments/albums/:album_id/photos/:id/:style/:basename.:extension",
:convert_options => {
:original => "-gravity center -thumbnail 660x440^ -extent 660x440",
:thumb => "-gravity center -thumbnail 150x100^ -extent 150x100"
}
validates_attachment_presence :image
validates_attachment_size :image, :less_than => 5000000
validates_attachment_content_type :image, :content_type => ['image/jpeg']
When i try to upload i am facing the following error :
[paperclip] An error was received while processing: Paperclip::PaperclipError: There was an error processing the thumbnail for stream20100825-29088-15dt1ct-0
[paperclip] An error was received while processing: Paperclip::PaperclipError: There was an error processing the thumbnail for stream20100825-29088-15dt1ct-0
I have no clue what is wrong here. Can any one help me out here.
FYI : paperclip version 2.3.1.1