Jump to content

Storing avatars


terryds

Recommended Posts

There have been previous discussion about these if you search the forum. Filesystem would be better. If you use database there would as many database calls as your image. because on each request you can only pull and display one image, Unless you are making a sprite of your avatars and using css to display it. In that case you will have one request but managing sprite would be complex than single image processing. Database calls are slower than filesystem access. Apart from that storing in database will be easier to backup image data along with other data.

Edited by birbal
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...