Added layout for images of thumbnails