2017-02-13 80 views
0

我已經在現有的EPiServer項目中安裝了Imageresizer,但是當對圖像進行查詢時,我只能看到原始圖像。如何調試Imageresizer不工作的原因?

我曾經嘗試這樣做的形象是出現在網站上:

http://localhost:15000/globalassets/image.jpg?width=100 

但我只是得到image.jpg的全尺寸。

我可以訪問http://localhost:15000/resizer.debug並沒有錯誤,除了:

1 Issues detected: 

(Warning): To potentially see additional errors here, perform an image resize request. 

我已經在這裏檢查一切https://imageresizing.net/docs/v4/troubleshoot和我的web.config是理所應當的。根據這一博客帖子

Install-Package ImageResizer.MVCWebConfig 
Install-Package ImageResizer.Plugins.DiskCache 
Install-Package ImageResizer.Plugins.PrettyGifs 

我安裝了命令插件http://www.frederikvig.com/2013/01/add-powerful-image-resizing-cropping-and-manipulation-support-to-your-episerver-website/和官方的文檔。

該插件似乎正確安裝據我所知,它只是不調整圖像大小。

如果我嘗試添加.ashx的我得到一個404頁:

http://localhost:15000/globalassets/image.jpg.ashx?width=100 

我不知道我怎麼能進一步調查這個,有什麼建議?

回答