reference thumbnails of galleries