Speaking of storing images in database, I believe the suggested method is to store the url of an image in to database, such as: "/images/image1.jpg".
So if