I thought I read that you can load images (gif or jpeg) into a MySQL database. Is this true or am I dreaming?

I want to create a table that will have a begin and end date with images. The table will have columns named begindate, enddate, image1, image2, image3. The page using these images will load the images selected from the row where current date >= begindate and <= enddate. This will put different images on the page on different dates.

I'm using PHP and MySQL. Can this be done? If not, any suggestions on how I can accomplish this?