Closed mattcdowning closed 3 years ago
Yes it should be working, I have tested with
@markgibbons25 Thanks so much for confirming! I finally got it working by going to the Properties of the file, Dianoga.WebP.config, in Visual Studio and changing Build Action from None to Content per this article: https://www.vinayjadav.com/posts/webp-for-sitecore-with-dianoga 🎉🎉🎉
Version of Dianoga
5.4.0
Environment description
Sitecore 9.1.0 .NET Framework 4.7.1
What configs you have enabled
Dianoga.Jpeg.config Dianoga.Png.config Dianoga.Strategy.MediaCacheAsync.config Dianoga.Log.config Dianoga.WebP.config
Reproducible steps (1... 2... 3...) that cause the issue
<setting name="Media.RequestExtension" value=""/>
What you expected to see, versus what you actually saw
I've enabled WebP support per instructions in web.config:
<add verb="*" path="sitecore_media.ashx" type="Dianoga.MediaRequestHandler, Dianoga" name="Sitecore.MediaRequestHandler" />
Dianoga is successfully compressing images but not converting them to WebP format....should this conversion work even though I have .ashx extension disabled on media urls?