在Web项目中使用ImageProgressor.Web开源库进行图片略缩处理

来源:互联网 发布:qq空间个性域名注销 编辑:程序博客网 时间:2024/05/20 11:36

在NuGet安装完后


测试http://localhost:16001/static/images/a1.png?width=500 通过


http://localhost:16001/remote.axd/外部图片

http://localhost:16001/remote.axd?http://外部图片 

均返回404 not found


由于网上资料较少,参考github上其他人提的issue

最终发现,外部图片后面加参数比如?width=n才能够解析图片url..

0 0
原创粉丝点击