isotopsweden/wp-imgix-helper

WordPress helpers and settings for imgix plugin

Installs: 1 909

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 1

Open Issues: 1

Type:wordpress-muplugin

dev-master 2019-05-23 08:41 UTC

This package is auto-updated.

Last update: 2022-07-29 01:19:59 UTC


README

Our Imgix helper built for https://github.com/imgix-wordpress/images-via-imgix. Should be used as a mu-plugin.

Installation

composer require isotopsweden/wp-imgix-helper

Usage

// To disable imgix:
define( 'IMGIX_DISABLED', true );

// To override settings:
define( 'IMGIX_HELPER_OVERRIDE', true );

// To change cdn link when override is defined:
define( 'IMGIX_HELPER_CDN_LINK', 'https://...' );

// Turn off disable thumbnail. Default is true.
define( 'IMGIX_HELPER_DISABLE_THUMBNAIL', false );

License

MIT © Isotop