move images from entities to photos