@@ -51,8 +51,8 @@ |
||
| 51 | 51 | // It takes a bit of time, so if you never plan to use it, you can turn it off |
| 52 | 52 | 'createColorPalette' => true, |
| 53 | 53 | |
| 54 | - // Controls whether SVG placeholder silhouettes should be created for image variants |
|
| 55 | - // It takes a bit of time, so if you never plan to use them, you can turn it off |
|
| 54 | + // Controls whether SVG placeholder silhouettes should be created for image variants |
|
| 55 | + // It takes a bit of time, so if you never plan to use them, you can turn it off |
|
| 56 | 56 | 'createPlaceholderSilhouettes' => false, |
| 57 | 57 | |
| 58 | 58 | // Controls whether retina images are automatically created with reduced quality |
@@ -216,9 +216,9 @@ |
||
| 216 | 216 | return null; |
| 217 | 217 | } |
| 218 | 218 | // If the extension is uppercase, set transform format to lowercase |
| 219 | - if ( ctype_upper($finalFormat) ) { |
|
| 220 | - $transform['format'] = strtolower($finalFormat); |
|
| 221 | - } |
|
| 219 | + if ( ctype_upper($finalFormat) ) { |
|
| 220 | + $transform['format'] = strtolower($finalFormat); |
|
| 221 | + } |
|
| 222 | 222 | // Generate an image transform url |
| 223 | 223 | if ($transformMethod->hasProperty('generateTransformsBeforePageLoad')) { |
| 224 | 224 | $transformMethod->generateTransformsBeforePageLoad = $event->generate; |
@@ -216,7 +216,7 @@ |
||
| 216 | 216 | return null; |
| 217 | 217 | } |
| 218 | 218 | // If the extension is uppercase, set transform format to lowercase |
| 219 | - if ( ctype_upper($finalFormat) ) { |
|
| 219 | + if (ctype_upper($finalFormat)) { |
|
| 220 | 220 | $transform['format'] = strtolower($finalFormat); |
| 221 | 221 | } |
| 222 | 222 | // Generate an image transform url |