Make images/attachments with in MySQL

Needed to make two tweaks, to undo the previous H2 hacks.