Image optimization
Overview
The image optimization in Sitefinity Cloud provides capabilities for reducing image size without reducing their quality. The feature uses a third-party service (Tinify) to automatically optimize images in Sitefinity CMS. The optimization is applied during the upload of newly added images or in the background for non-optimized existing images.
Reducing image size can substantially improve web page load speeds and reduce the database size without sacrificing quality.
The image optimization feature is enabled in Sitefinity Cloud by default.
PREREQUISITES: If the Developer Extensions toggle is enabled, to be able to use this feature in Sitefinity Cloud, you must first install the latest version of the Progress.Sitefinity.Cloud NuGet package in your project. If you use automated upgrades, the package will be automatically installed. For more information, see Upgrade.
Disable or configure the feature
NOTE: The options to disable or configure the feature are available if the Developer Extensions toggle is enabled.
To disable the feature, add the following app setting in the custom variable groups:
- Key: sf:disableImageOptimization
- Value: true
For information how to add app settings, see Manage the configurations.
There is an additional set of configurations for the third-party service (Tinify) and for the background scheduled task. For a complete list of configurations and their respective descriptions, see Sitefinity GitHub repository » Sitefinity Image Optimization.