O'Reilly logo

RailsSpace: Building a Social Networking Website with Ruby on Rails™ by Aurelius Prochazka, Michael Hartl

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required