#6: carries out logic with regards to display of thumbnail image