> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-image-optimizer-extension/configuration.md).

# Configuration

Once the extension is installed successfully, go to **Stores > Configuration** to configure the extension for use.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FEuYPyROEWqcZwjkuJtTN%2Fimage.png?alt=media&amp;token=197c6701-0521-4ab5-82bd-426f28cb122d" alt=""><figcaption></figcaption></figure>

**Image Optimizer:** Enable and disable the extension from here.

**Custom Quality Percentage:** Admin will need to add the image quality percentage here.

**Included Directories**: Add the directory path of your media storage that you want to include.

**Excluded Directories:** Add the directory path of your media storage that you want to exclude.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FelBlowogmBizSU7TlonU%2Fnew_cron_configuration.png?alt=media&amp;token=87e5ab4f-7f4d-4176-a2b5-83e02429a5dd" alt=""><figcaption></figcaption></figure>

**Cron:** Set the cron running time to optimize images automatically.
