fix metadata upload
clone image to fix dimensions
undo alistair being the worst