问题描述
代码:
<img src="{{ asset('storage/'.$company->logo) }}" alt="Image not available">
检查中的元素
<img src="http://administration/storage/9db9e15d9f1f3d892cdcb595e2089dbf.jpg" alt="Image not available">
我正在练习Laravel项目,当我开始从数据库中获取图像时,它将不会显示
我使用了php artisan storage:link命令,以便图像到达公用文件夹。另外,我用fakerr创建了图像。我正在使用宅基,我的应用程序名称是Administration,URL也是“ http:// administration”。
可能的解决方案?预先感谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)