Mobile app version of vmapp.org
Login or Join
Si4351233

: Where to store images? i am making a website that will have a big ammount of photos and images, where should i store these is a database an efficient option? thanks

@Si4351233

Posted in: #Images

i am making a website that will have a big ammount of photos and images, where should i store these is a database an efficient option?

thanks

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

2 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

The smartest way is to just have an /images/ directory that's further broken down into images/buttons, images/avatars, images/icons, or anything else that makes managing, organizing, and keeping track of them easiest for you.

But if you're getting a lot of hits and the server is being worked to display all of these pictures (many http requests), you might want to look into a CDN (or just host them elsewhere).

10% popularity Vote Up Vote Down


 

@Nickens628

In general, images store directly on disk will load faster, and will be cheaper to store (because, in general, database space is more expensive than disk space.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme