lilychencodes / aa_final_project

0 stars 0 forks source link

Profile images #3

Open davidrunger opened 9 years ago

davidrunger commented 9 years ago

Although I'm encouraging you to de-prioritize your users index & show pages, it might be worth allowing users to somehow upload profile images. Even if you don't have index & show pages, this would still be really valuable because of the color and personality that it would add to your question and answer views and subviews.

Probably the main options are...

  1. Use Gravatar. For your seed data (users), rather than creating a bunch of fake accounts on Gravatar, you could simply host those images on Amazon S3. But employers could theoretically create a profile for themselves using a Gravatar. But probably they'd never even get to the signup page. This would be the simplest solution.
  2. Allow users to upload files using your own app. This is more complicated and would probably involve a file uploading-and-hosting service like Cloudinary.

Either way, I think this will be an important part of your app.

davidrunger commented 9 years ago

Ahh, I see that you were thinking Gravatar. Gravatar is based on emails, right? But you have a "username" column rather than "email" in your schema. Also, if you are going to upload your seed data in the way that I suggested rather than via gravatar, then you might want to have an additional, separate column for "profile_img_url"?