I want to be able to provide my website users with the ability to upload a profile picture. What are my options? What is the best way to do this? I would need to be able to limit the image size, crop / resize the image so that I can display thumbnails of the image. The website is written using Ruby on Rails
A:
The PaperClip plugin is pretty much the new hotness (standard):
http://github.com/thoughtbot/paperclip
It supports different image processors but we use ImageScience. RMagick leaks memory
Cody Caughlan
2010-03-04 17:26:59
+2
A:
This Railscast on using Paperclip and cropping images sounds perfect for you!
John Topley
2010-03-04 18:32:15
A:
I agree with the others recommendation of Paperclip for handling any kind of upload.
However for profile pictures in particular, if you are storing your user's email addresses you might like to consider using Gravatar, as StackOverflow does, to effectively "outsource" this functionality and let your users maintain consistent avatars among all the sites they use.
Tobias Cohen
2010-03-05 10:25:41
how i can use this two method Gravtar or Self-image upload system too.
4thpage
2010-05-10 05:41:57