Storing images in a File System
You should always store images as files on your web server.
You do need a database - but you use that database to store textual info about the images. This includes any information you may want to present on the webpage like subject, copyright etc.
The database then becomes the quickest way to search for images e.g. by keyword.
Note: You don't need to duplicate everything in the DB. Your OS stores useful metrics associated with images, allowing you use the file system tools like Internet Explorer to get file size, date taken etc.