Reputation: 177
i want to add two logo in the welcome page.i have stored the images in the folder named image under the public folder.In the build in homepage of Laravel i want to show these two images. i tried these
<image img src="C:\xampp\htdocs\officeapp\public\image\MB.png" alt="Logo"> </image>
<img src="{{URL::asset('/image/MB.png')}}" alt="logo" height="200" width="200">
but image is not showing only 'Logo' word is showing...what should i do?
Upvotes: 0
Views: 1285
Reputation: 3547
Try this:
public_path() (Get the fully qualified path to the public directory.)
<img src="{{ public_path('/image/MB.png') }}" alt="logo" height="200" width="200">
Upvotes: 1