【发布时间】:2015-02-18 18:09:48
【问题描述】:
我在 Azure 的私有块中拥有图像。
我正在使用 Azure Reader 2,可以像 http://localhost:55328/azure/00001/IMG_0001.JPG 一样访问图像 - 它工作正常并重定向到带有共享访问签名的 blob。
但是,如果我尝试调整图像大小,例如IMG_0001.JPG?width=100&height=100,我只是得到一个 404。
单步执行代码,我注意到这一行
if (e.VirtualPath.StartsWith(prefix, StringComparison.OrdinalIgnoreCase) && e.QueryString.Count == 0)
{
....
}
因此,如果有 QueryString,则不会进行任何处理。
在这里调试输出: https://gist.github.com/anonymous/28fd112eec194181baae
提前致谢
【问题讨论】:
标签: imageresizer