Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

render images twig

<img src="{{ asset('Img/Image.png') }}">
/*
Returns the public path of the given asset path (which can be a CSS file, 
a JavaScript file, an image path, etc.). This function takes into account where
the application is installed (e.g. in case the project is accessed in a host
subdirectory) and the optional asset package base path. 
*/
 
PREVIOUS NEXT
Tagged: #render #images #twig
ADD COMMENT
Topic
Name
7+4 =