Now, I working on Laravel project but i got some issue in this project. I stored image name in database and also store in storage folder but images are not show in my dashboard
Blade file code:
<div class="col-sm-8">
<a href="blog_detail/{{ $main_blog->id }}">
<img src="<?php echo asset("../storage/app/assets/upload/images/$main_blog->image")?>" class="blog_img">
<h1 class="blog_main_heading">{{ $main_blog->title }}</h1>
</a>
</div>
I can't see your folder structure, hope it works though, Please check below code:
<div class="col-sm-8">
<a href="blog_detail/{{ $main_blog->id }}">
<img src="{{ Storage::url('app/assets/upload/images/'. $main_blog->image) }}" class="blog_img">
<h1 class="blog_main_heading">{{ $main_blog->title }}</h1>
</a>
</div>