so i wanted to display the image not the image name in my views.
i got this in my views
<img src="{{$post->image}}" />
what i want is to display the actual image not the name of the image. how can i achieve this? should i save the image first in the public folder? or my method is wrong? Enlighten me please? thank you so much. i have tried this method
{{ HTML::image($post->image, '', array('class' => 'image')); }}
but i still get the same output.
See Question&Answers more detail:os