Releases: nystudio107/craft-imageoptimize
Releases · nystudio107/craft-imageoptimize
Version 1.4.19
Changed
- Fix deprecation errors from Craft CMS 3 RC 12 (which were causing slowdowns)
Version 1.4.18
Added
- Fix a division by 0 error with some custom Craft transforms when using Imgix as a transform method
Version 1.4.17
Added
- Added lightswitch controls to the OptimizedImages field that let you control what is displayed
Changed
- Ensure we handle all of the potential
$transform
types passed intoEVENT_GET_ASSET_URL
- Both
createColorPalette
andcreatePlaceholderSilhouettes
are now off by default when usingcraft.imageOptimize.createOptimizedImages()
via Twig, but can be overridden
Version 1.4.16
Added
- Added support for optional security token used to sign image URLs from Imgix
- Added
image-optimize/optimize/create
andimage-optimize/optimize/clear
console commands for command line Optimized Image Variant creation
Changed
- Display the non-webp version of an image when it exists, but the browser doesn't support displaying
.webp
- Handles error conditions with
filesize
better
Version 1.4.15
Changed
- Resave all asset volumes after the settings are changed (not just the Transform Method)
- Save the Optimized Image Variants via an async queue when possible
- Detect
gd
installation viafunction_exists
instead ofextension_loaded
- Handle protocol-relative siteUrls better
Version 1.4.14
Changed
- Fixed an issue where certain settings could not be saved via the AdminCP
- Check to ensure that
GD
is installed before attempting to generate silhouette placeholders - Show a warning on the Settings page if
GD
is not installed
Version 1.4.13
Changed
- Removed Edit Image button, since Craft CMS 3 now includes one in the Asset preview
Version 1.4.12
Changed
- Removed the
api-key
parameter from Imgix image transform URLs
Version 1.4.11
Changed
- Renamed the composer package name to
craft-imageoptimize
- Fixed a regression that broke protocol-relative siteUrls
Version 1.4.10
Added
- Shows an error if an OptimizedImages field is added to anything other than an Asset's layout
- Added a warning if a config setting is being overridden by the
config.php
- Added a number of config settings to the AdminCP GUI
Changed
UrlHelper::urlWithProtocol
->UrlHelper::urlWithScheme
for Craft CMS 3 RC7 compatibility- Fixed an issue where you could delete the last Image Variant in the field settings, even though the option was disabled
- Handle the display of Optimized Image Variant names better when coming from Imgix