Need to exclude specific Media folder (Also Images inside that folder) from WebP rendering
Hello All,
I am a new developer in Umbraco. I am using Umbraco version 8.
I need to exclude a specific media folder (Also Images inside that folder) from WebP rendering.
I have implemented some code and it's working 100% fine. I have written code in RegisterStartUpComponent file. I have created a key and added it to Web.AppSetting.Config file.
Here the issue is when we upload any image into the Media folder, Umbraco creating own folder for each image file so it means If I have 10 images then it will create 10 folders for those images.
Is this possible like we can create 1 folder and upload all images into that folder and just that folder we can exclude from rendering?
I have created this kind of folder in Media folder but after upload images, each image has own folder.
Need to exclude specific Media folder (Also Images inside that folder) from WebP rendering
Hello All,
I am a new developer in Umbraco. I am using Umbraco version 8.
I need to exclude a specific media folder (Also Images inside that folder) from WebP rendering.
I have implemented some code and it's working 100% fine. I have written code in RegisterStartUpComponent file. I have created a key and added it to Web.AppSetting.Config file.
My code as per below,
Here the issue is when we upload any image into the Media folder, Umbraco creating own folder for each image file so it means If I have 10 images then it will create 10 folders for those images.
Is this possible like we can create 1 folder and upload all images into that folder and just that folder we can exclude from rendering?
I have created this kind of folder in Media folder but after upload images, each image has own folder.
I have achieved my requirrement as per below code
Added above key into config file.
is working on a reply...