Automatically shrink images using TinyPNG API during uploading to Media Library or as a Page Attachment. Applicable for Kentico 12 CMS (including Service Pack).
- Install Nuget package https://www.nuget.org/packages/Delete.Kentico12.TinyPng/ into Kentico 12 CMS solution. If your project is MVC, you should install this package for both CMS and MVC solutions!
- Build and run projects for the first time, it will trigger installation of TinyPNG Image Optimization module.
- Go to Settings application -> Integration -> TinyPNG (section should appear after successful module installation)
- Tick Enabled and fill your Api Key. That's it! From now on all your images uploaded to Media Libraries or Attachments will be optimized!
You can refer to detailed blog HowTo article: https://diger74.net/image-optimization-using-tinypng-api