You can store just about any type of file in a database.. jpg, doc, gif.

Performance would be my only issue. If just two jpg, should be okay.

But, for us, storing 100000s of jpgs was a performance nightmare. So we keep
the jpg on the hard drives with the path to the jgp in the database.

-----Original Message-----
From: Kim Hoopingarner [mailto:[email protected]] 
Sent: Friday, November 13, 2009 12:06 PM
To: cf-talk
Subject: JPG in Database - Retrieve for web page


I have not tried this before - so I thought I might see if this is feasible.


I have stored 2 jpgs in my database - one for the header of the site and one
for the left side graphic.

I want to retrieve these 2 BLOBS and place them on my web page - removing
the need to have the jpg on my file server.

Possible?  If so - hints? 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328364
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to