separate imageData out of Photo