First, you have to store the images in the public directory
Then it depends what $post->image actually is. If it is a path relative to public you can do this:
<img src="{{ asset($post->image) }}" />
Or:
{{ HTML::image($post->image, '', array('class' => 'image')); }}
OR
<img src="{{ asset('img/slide/' . $post->image) }}" />
@mauro lúcio :
You should try this:
if you store images in public folder (i.e yourproject/public/img/slide/test.jpg) then please update your code with below code.
<img src="{{$post->image}}" />
OR
<img src="{{url($post->image)}}" />
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community