Acts_as_attachment - no thumbnails?

the full-size pics upload OK, but no thumbs or resizing. There are no
errors or exceptions that I can see, just not getting any thumbnails.
The DB column ‘thumbnail’ is always NULL

rmagick-1.15.6 is freshly installed.

I have the :thumbnails stuff setup per

using a model like this:

class EventPic < ActiveRecord::Base
belongs_to :event
acts_as_attachment :storage => :file_system, :max_size =>
900.kilobytes, :content_type => :image, :thumbnails => { :normal
=> ‘800>’, :thumb => ‘150x150’ }

and a controller something like:

@event =[:id])
(1…3).each { |p|
pic = ‘pic’+p.to_s <<[pic]) unless params[pic]
[:uploaded_data] == “”

(users can upload up to 3 pics at a time to attach to an existing event)

anyone have an idea? is there an easy way to test rmagick (I am not
familiar with it)


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs