# 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](https://tinypng.com/)) 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.

> info **PREREQUISITES**: If the [Developer Extensions](https://www.progress.com/documentation/sitefinity-cms/cloud/platform-overview/developer-extensions--sitefinity-cloud-paas-) 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](https://www.nuget.org/packages/Progress.Sitefinity.Cloud) NuGet package in your project. If you use automated upgrades, the package will be automatically installed. For more information, see [Upgrade](https://www.progress.com/documentation/sitefinity-cms/cloud/upgrade/upgrade).

## Disable or configure the feature

> info  **NOTE**: The options to disable or configure the feature are available if the [Developer Extensions](https://www.progress.com/documentation/sitefinity-cms/cloud/platform-overview/developer-extensions--sitefinity-cloud-paas-) 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](https://www.progress.com/documentation/sitefinity-cms/cloud/develop-and-deploy/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 » [Image Optimization](https://github.com/Sitefinity/SitefinityImageOptimization#configurations).
