> 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="/files/584G1eU1Li7SwYZOaobi" 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="/files/qldYLEgtXq0IJBGJr10e" alt=""><figcaption></figcaption></figure>

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