adding photos to page and resizing