Auto-generate thumbnails if called in Markdown