Edited index to show thumbnails