adding image thumbnails