set photo images and panf