jpeg 的 Episerver 缩略图出现 404

Episerver Thumbnails for jpegs are getting a 404

在 Episerver 11 中,jpeg 的缩略图已损坏。在媒体库中,它们显示为损坏的图像:

我在浏览器工具中看到了这个:

Failed to load resource: the server responded with a status of 404 ()

实际url

https://mysite.mydomain.com/episerver/CMS/Content/siteassets/heros/myimage.jpg,,26/Thumbnail?epieditmode=False?1527614597161

在实际网页和图像编辑器中,它们显示良好。不完全确定缩略图系统是如何工作的。

运行 管理中的计划作业 "Clear Thumbnail Properties"

来自documentation

You can clear generated thumbnail images in the Products list and Media list views and add them again with the Clear Thumbnail Properties job. Run this job manually if you experience problems with refreshing thumbnails, such as on the website and BLOB-supported content.

确保您的缩略图保存为 png 格式。

由于用于调整图像大小的第三方库,我遇到了同样的问题。 事实证明,Episerver(CMS 版本 9.12)总是希望以 png 格式保存图像的缩略图。