Image optimization

Overview

The image optimization in Sitefinity Cloud provides capabilities for reducing image size without reducing their quality. The feature is using third-party services like Tinify and Kraken IO 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 DB size without sacrificing quality.

Enable and configure the feature

PREREQUISITES: To be able to use image optimization in Sitefinity Cloud, you must first install the latest version of Progress.Sitefinity.Cloud NuGet package in your project. If you use automated upgrades, the package will be automatically installed. For more information, see Upgrade.

The image optimization feature is disabled by default. To enable it, add the following app setting in the custom variable groups:

  • Key : sf:disableImageOptimization
  • Value : false

For information how to add app settings, see Manage the configurations.

There is an additional set of configurations for the third-party services (Tinify and Kraken IO) and for the background scheduled task. For a complete list of configurations and their respective descriptions, see Sitefinity Image Optimization: Configurations on GitHub. 

Was this article helpful?