Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

set image asset path in laravel

//Assets in app/public
// in image
<img src="{{URL::asset('/images/logo.jpg')}}"/>
// in div style
<div style="background-image: url({{URL::asset('images/image.jpg')}});">
</div>
 
PREVIOUS NEXT
Tagged: #set #image #asset #path #laravel
ADD COMMENT
Topic
Name
1+1 =