Have a look at this question/answer. You will find an example of how to save a picture in the database there.
Register Hereor login if you are already a member
Discuss This Question: