Sending thumbnails for gallery page.