Open PoojithaHebbar opened 1 year ago
Do you have a png optimizer enabled?
Yes..I have the Dianoga.png.config enabled and PngOptimizerCL.exe is also present in Dianoga tool folder
Update: I notice that it's just not the root folder. Several other images are also not being optimized. Can you please let me know how to trouble shoot this.
pngquant.exe is the default png optimizer. Can you list all configs that are enabled and any changes that you have made from the defaults? Essentially there is no matching optimizer for that file type. It could be that the specific mime type is not actually png and is webp for example.
I see that for successfull optmization it has the extension added to the media file name in log : INFO Dianoga: optimized /Default Website/sc_logo.png
But for unsuccessful it is not adding any extension to the file name: INFO Dianoga: /Images/491733 cannot be optimized due to media type or path exclusion INFO Dianoga: /Images/Fight_against_sepsis_120x120 cannot be optimized due to media type or path exclusion
I have attached the media files which are getting excluded from optmization.
Please note" It's just not png, I see that the jpg files are also getting excluded from optimization
I'm hereby attaching the configs and the Dianoga Tools. Dianoga Configs.zip Tools.zip
@PoojithaHebbar Did you solve the issue? I'm facing the same with quite a lot of images from my library, mainly PNG ones
Hi @PoojithaHebbar. I know this is an old issue. But do you have any idea about how you solved this issue? I am having exaclty the same issue now on a project and I am not being able to understand how to solve it.
I have recently upgraded to Dianoga v 6.1.0. After the upgradation if I check the Dianoga.log to see if the images are getting optimized, I see an issue with the images that are directly under the media library folder in sitecore.
For example: Media File at path : /sitecore/media library/example_600x337.png
The entry from Dianoga.log : " _/example600x337 cannot be optimized due to media type or path exclusion"
All the other images that are not directly under media library are getting optimized. For example : Media File at path : /sitecore/media library/xxx/example.jpg
I have not included any custom settings in the Dianoga configuration files. All the settings are as per default.