RailsSpace: Building a Social Networking Website with Ruby on Rails™
by Michael Hartl, Aurelius Prochazka
Chapter 12. Avatars
Now that we’ve added a community listing, searching, and browsing, RailsSpace users can find each other, but the profiles they find are rather plain. In this chapter, we take the first step toward improving this situation by adding an avatar image upload so that users have a visual way to represent themselves on their profiles. Future enhancements include a friends listing (Chapter 14) and a blog (Chapters 15 and 16).
In the context of computers, an avatar is an image or other graphical representation of a particular person.[1] On RailsSpace, the avatar will simply be an uploaded image. It can be a picture of the user, but it doesn’t have to be; any image that expresses the user’s personality will do. We’ll put the avatar ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access