I am very new to storing pictures on a web server. Currently I am using Google App Engine's Cloud SQL for my database to house all of my user's information (username, password, etc). I was reading about how most people DON'T store pictures in a database.
I was looking at Cloud Storage or Cloud Datastore. I think the route people are taking is to use the Cloud Storage. If that is the case I need help with organizing the storage of the profile pics (user defined) for saving, retrieval, modification and deletion.
My thoughts are: To save a profile pic: Save the .jpg to //profile pic/profile_pic.jpg on the Cloud Storage
I would have /1/profile pics/profile_pic.jpg, /2/profile pics/profile_pic.jpg, /3/profile pic/profile_pic.jpg where the would correspond with the primary key in the database.
Am I on the right track? Is there a standard way to do this that I don't know of?
Any help will be greatly appreciated!!!!