resized image on show, add pagination