Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies


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

New User

5+ Year Member

joined:Sept 18, 2008
votes: 0

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)

Junior Member

10+ Year Member

joined:Sept 10, 2004
votes: 0


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)

New User

5+ Year Member

joined:Sept 18, 2008
votes: 0

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)

Senior Member

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

joined:Nov 28, 2004
votes: 0

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.


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members