If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I generally discourage storing the actual image in the DB, as this puts an unnecessary strain on the DB connection (passing all that data around in query results). Typical usage is to store the image on the web server file system (it is just a file, after all), and store the file name (and directory if needed) in the database, along with any other data (title, description, date/time, etc.).

A database is an organized collection of data. The data are typically organized to model relevant aspects of reality in a way that supports processes requiring this information. For example, modeling the availability of rooms in hotels in a way that supports finding a hotel with vacancies.