0
votes

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?

2

2 Answers

1
votes

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">
0
votes

try this one

<img href="{{ asset('/image/nashicon.ico') }}" />