display of an image in photo editor app