Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies




11:43 am on Nov 9, 2009 (gmt 0)

5+ Year Member

Hi, I'm making a CMS and I want it to be able for the staff to upload images, everywhere I go, i keep getting told it's not a good idea to store the images in the database. What's the best idea how to do this?

Thanks, Josh


4:33 pm on Nov 9, 2009 (gmt 0)

10+ Year Member


That is good advice, a better way to handle images is by storing a reference to the location of your image on the file system in your database.




5:04 pm on Nov 9, 2009 (gmt 0)

5+ Year Member

How would this be done? Is there any links(i know you arn't meant to post links on here, but if it's showing how to do something is it ok?) or you be able to give an example?

Thanks John


6:50 pm on Nov 9, 2009 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

I used to think this way too - one of the things I'd learned and forgotten why - but a member here is doing this [webmasterworld.com] and has opened the topic for discussion [webmasterworld.com].

Rule 1 about information found on the Internet (or anywhere else, for that matter: ) question everything.

I'm sure he will share the methods of storing/retrieving image blobs, some of those are touched on in the first link.


Featured Threads

Hot Threads This Week

Hot Threads This Month