2 Comments Already

commenter
tensync Said,
August 26th, 2008 @10:35 pm  

Perhaps they’re not storing the images in the database but as an actual file and is just saving the file pathname in the database. I’ve heard pros/cons of storing large objects such as pictures vs. storing them on the file system to it to keep the database small and fast.

However, I guess they could’ve just stored the filename you want in the database, and generate a GUID or something for the actual filename — if they’re saving it outside of the database.

commenter
Aaron Said,
August 27th, 2008 @7:19 am  

I definitely wouldn’t store photos in a database, instead I’d store them in a file system. But as you suggested, they could easily rename the incoming files and store the new file name only in the database.

Related Post

Please Leave Your Comments Below

Please Note: All comments are moderated, so it may take some time before your comment appears.