PHP code example of spacecatninja / imager-x-imgix-transformer
1. Go to this page and download the library: Download spacecatninja/imager-x-imgix-transformer library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
spacecatninja / imager-x-imgix-transformer example snippets
return [
'*' => [
'defaultProfile' => 'default',
'apiKey' => '',
'autoPurge' => true,
'purgeElementAction' => true,
'profiles' => [
'default' => [
'domain' => '',
'useHttps' => true,
'signKey' => '',
'sourceIsWebProxy' => false,
'useCloudSourcePath' => true,
'addPath' => '',
'getExternalImageDimensions' => true,
'defaultParams' => [],
'excludeFromPurge' => false,
'apiKey' => '',
],
],
],
];