I must agree with "mfacer". While it is technically possible to store images in databases, you will want to think long and hard about if you should store images in the database.
There are valid reasons to work the problem either way. You will want to consider at least the following issues:
how many images do you need to keep track of?
how large are the images?
how often are the images accessed/retreived?
does the web server and db server share memory?
what sort of caching is in front of the web server?
what do you need to backup? how often?
I used to never put images into databases. But memory is cheap now, and I've had a couple of instances where it made sense to store the images in the DB (small image set, rarely changed, infrequently retrieved).