Install the OpenCart 3 or 4 package and optimize catalog images.
1. Installation and requirements
Choose the OCMOD ZIP that matches your OpenCart major version. Upload it in Extensions → Installer and enable ANK Image Compress in Extensions → Extensions → Modules. For OpenCart 3, check that modifications have been refreshed. The module scans image/catalog. The OpenCart 3 package requires PHP 8.0 or later.
2. Connect the API
Create an API key in your ANK Image Lab account. Open ANK Image Compress in your CMS, save the key and check your available credits.
3. Compress and restore
Start with one JPEG, PNG or WebP file. Search by name, compress it, compare the sizes and check the result on your site. Use the restore action to confirm you can recover the original before running a batch.
4. Troubleshooting
If the key is rejected, regenerate it and save it again. Check your credits if compression fails. If the file is missing, check its directory and PHP read/write permissions. For automatic processing, check the scheduler log and run a single job manually first.
Technical support modules@ankpicpress.com