I just added some ImageMagik lines to caption the name of
speakcorp.com users .. if you don't need anything much more
complicated..
exit_code = system("convert -font Arial -background '#0005' -fill
white -gravity center -size 200x50 -pointsize 20 label:'
#{current_user.formatted_name} ' +size #{img_file} +swap -gravity
south -composite #{img_file}")
there is nice tutorial for the convert command on IM6 manual..
On Thu, Aug 21, 2008 at 12:12 PM, Patrick Crowley <[EMAIL PROTECTED]> wrote:
>
>> Any recommendations? All I need is image resizing and captioning...
>
>
> Yeah... first, install the Paperclip plugin, then follow these
> instructions. (This is more of a hack, than a full blown fork of
> Paperclip...but it seems to work.)
>
> http://martinceronio.net/?p=59
>
> Looking at the code, you might need to add support for captioning
> *each* image. It looks like it's using the same caption for each
> image, but you could make that part dynamic.
>
> -- Patrick
>
> >
>
--
Emanuele Tozzato
4955 Narragansett Avenue
San Diego CA 92107
--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---