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

    xiaoxiao2021-03-26  24

    在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..

    转载请注明原文地址: https://ju.6miu.com/read-660826.html

    最新回复(0)