我正在使用 Laravel,在顯示數據庫中存儲的圖像時,圖像不顯示:$post -> image has posts/1lSBv7Ana8Lonj9Au37IrujjnnEaYgzNWyamch33.jpeg as image location, still image doesn't show up.index.blade.php <tbody> @foreach ($posts as $post) <tr> <td> <img src="{{$post->image}}" width="60px" height="60px" alt="image"> </td> <td>{{$post->title}} </td> </tr> @endforeach </tbody>和 PostsController 作為public function index(){ return \view('posts.index')->with('posts', Post::all());}
Laravel:來自數據庫的存儲圖像不顯示
慕桂英3389331
2022-10-09 20:15:44