add image metadata back in