Add thumbnails to gallery