![](/img/trans.png)
[英]Getting image from folder using PHP: Code working and getting image path but img not being placed into HTML
[英]Error while getting image from folder using Angularjs 1.5 and php
我遇到这个错误;
GET http://localhost/~abhishek/Product/uploads/users/%7B%7Busers.image%7D%7D 404 (Not Found)
...但是提出这个问题的主要原因是; 我正在构建产品应用程序,并且必须将图像存储在数据库和文件夹中。 所以,我明白了。 图片正在加载到我的网页中,但是此错误即将到来,请帮助我解决此问题。
这是因为,它正在尝试搜索此路径。 PHP未使用适当的值替换users.image字符串。
http://localhost/~abhishek/Product/uploads/users/{{users.image}}
是上述错误中URL的解码形式。
http://localhost/~abhishek/Product/uploads/users/%7B%7Busers.image%7D%7D
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.