add image metadata