change display of images to thumbnail