Welcome to WebmasterWorld Guest from 54.196.212.62

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Images

     

j05hr

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

JohnCanyon

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

10+ Year Member



Josh,

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.

Cheers.

JC

j05hr

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

rocknbil

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