display image in twig
snippet in html

display image in twig

user6695

{# it is assumed the Product entity has @Vich/Uploadable annotation configured #}
<img src="{{ vich_uploader_asset(product) }}" />