You could pull the image contents from your database, write them to a file, force the download, then delete the file. I'm not sure, I've never done anything like that before, but I can't see why it wouldn't work. Might use a bit too much server overheads though . . . 🙂