contao_figure - Twig Function
This function takes the same arguments as the figure
function, but renders the image directly.
There is an additional argument where you can define which template to use to render the figure.
Note
Arguments
from
: Can be aFilesModel
, aFilesystemItem
, anImageInterface
, atl_files
UUID/ID/path or a file system path.size
: A picture size configuration or reference or size array.configuration
: Additional configuration for theFigureBuilder
.template
: Optional figure template (default is@ContaoCore/Image/Studio/figure.html.twig
)