Why not just have the image files uploaded right into the MySQL database as a BLOB field. You can upload the binary code of the image and place it inside a field, so no actual image file exists on the server. Then you can call it back up using the database and a php file.
