I'm not sure how it still surprises me that someone could be THAT stupid. Yes it's called a "data"base, but it's for storing meta data, and short text data, not images/video/PDFs. Fucking carpenters always using a hammer for any job and plumber using a crescent as a hammer. Insane.
Please tell me you're not putting the images actually /IN/ the database? Images/files don't belong in the fucking database(we have had customers try to do this and it's the biggest headache to get fixed). You only put LINKS to files in the database.