adding thumbnails to flow