Thumbnail fixing to templates.