somehow-digital / craft-imgproxy
imgproxy integration for Craft CMS.
Package info
github.com/somehow-digital/craft-imgproxy
Type:craft-plugin
pkg:composer/somehow-digital/craft-imgproxy
v1.0.4
2026-10-31 21:23 UTC
Requires
- php: ^8.2
- craftcms/cms: ^5.8.0
- somehow-digital/imgproxy: ^1.0.0
Requires (Dev)
- craftcms/phpstan: dev-main
- pestphp/pest: ^3.0 || ^4.0
- phpstan/phpstan: ^2.1
- roave/security-advisories: dev-latest
- symplify/easy-coding-standard: ^13.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
imgproxy for Craft CMS
Requirements
- Craft CMS 5.8.0 or later.
- PHP 8.2 or later.
- imgproxy 3.0 or later.
Installation
Install this plugin from the Plugin Store or via Composer.
Plugin Store
Go to the “Plugin Store” in your project’s Control Panel, search for “imgproxy” and click on the “Install” button in its modal window.
Composer
composer require somehow-digital/craft-imgproxy ./craft plugin/install imgproxy
Configuration
- Go to Settings → imgproxy.
- Enter the Endpoint — the base URL of your imgproxy server.
- To enable URL signing, enter the Signature Key and Signature Salt (hex-encoded HMAC key and salt).
- Optionally, choose the Fallback Format (default:
jpg) for sources that browsers can't display, such as HEIC and TIFF, when a transform has no format. - Optionally, turn off Thumbnails to let Craft generate the thumbnails of the Control Panel instead of imgproxy.
- Optionally, choose the Thumbnail Format (default:
webp) of the thumbnails imgproxy generates for the Control Panel. - Click Save.
Tip: All settings support environment variables. See Environmental Configuration in the Craft CMS docs to learn more about that.