I am successfully managing images directly on S3 using the attachment_fu Gem
(which requires the aws-s3 Gem) on Heroku. Need to configure for Rmagick:
has_attachment :processor =>'Rmagick',
:s3_access => :public_read,
:content_type => :image,
:storage => :s3,
:max_size => 500.kilobytes,
:resize_to => '320x200>',
:thumbnails => { :thumb => '100x100>' },
:thumbnail_class => ThumbnailImage
Now I use AWS S3 Virtual Hosting of
Buckets<http://docs.amazonwebservices.com/AmazonS3/2006-03-01/>.
If you want to use that then you'll need my forks of attachment_fu and
aws-s3 available at http://github.com/Bill
Those forks BTW have nothing to do with Heroku in fact they were made back
when I was on Amazon EC2. If you don't care about Virtual Hosting of Buckets
then you can use the the authoritative versions of those Gems.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" 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/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---