pass template as an HTML snippet instead of image URL