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 ...

Get RailsSpace: Building a Social Networking Website with Ruby on Rails™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.