added thumbnails for gallery