Answers for "add images in twig"

2

display image in twig

{# it is assumed the Product entity has @Vich/Uploadable annotation configured #}
<img src="{{ vich_uploader_asset(product) }}" />
Posted by: Guest on October-19-2020

Browse Popular Code Answers by Language