Hi,
yes, thats basically what you have to do.
You just have to tell file_column that you want to create a thumbnail:
file_column :image, :magick => {:versions => { "thumb" => "50x50"}}
and tell activescaffold that you want to show the thumbnail.
conf.columns[:image].list_ui = :thumbnail"
At least that is the theory. :-)
--
Volker
On 8 Mrz., 18:11, Head777 <[email protected]> wrote:
> Hi, let me see if i understand!
>
> You are telling me, that i have to install RMagick plugin in my
> aplicattion rails and after that just configure my model whith
> something like that "conf.columns['xxxx'].list_ui = :thumbnail"
>
> and that its??
>
> and my Rails application will automatically display the images?
>
> That is right???
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.