Imager X Power Pack
Version 1.1.5
November 16, 2026
Added
ppimg()now accepts images from Imager X adapters, likepppicture()andpptransform()do.
Fixed
- Fixed
pptransform()not returning untransformed SVGs and animated GIFs the way Imager X returns transformed images. A single transform, like{ width: 300 }, returned the image in an array, a named transform with a list of transforms returned it on its own, and a named transform threw an error when the image was a path. Templates that read the first item for a single transform, likepptransform(svg, { width: 300 })[0], need to be updated. - Fixed an error when
pppicture()orpptransform()was given an image from an Imager X adapter. - Fixed an error when a transform failed and Imager X's
suppressExceptionssetting was on. Nothing is output for the image, like when the transform throws an exception. - Fixed an error when a placeholder was enabled for an image the transformer doesn't know the dimensions of, like an external image with the Imgix transformer when
getExternalImageDimensionsis off. The image is now output without a placeholder.
Version 1.1.4
November 15, 2026
Fixed
- Fixed sources with integer media queries not being sorted, which could make the browser pick a smaller source than intended. Sources are now sorted by their min-width, largest first, and sources that share a media query keep the order they were written in.
- Fixed sources without a media query getting
media="(min-width: 0px)".
Version 1.1.3
June 11, 2026
Fixed
- Fixed isAnimatedGif helper, it now handles
nullgracefully
Version 1.1.2
May 23, 2026
Added
- Added support for Imager X 6.0
Fixed
- Fixed isSvg helper, it now handles
nullgracefully
Version 1.1.1
February 23, 2026
Changed
- Removed requirement for php-imagick, it's not really needed (fixes #10).
Fixed
- Fix an exception caused by
nullbeing passed to getPlaceholderStyles (thanks, @lexisother).
Version 1.1.0
December 29, 2025
Fixed
- Fixed an issue where an error would be thrown for external SVGs, and reduced redundant sources if transformSvgs is false and the source image is the same for all sources (fixes #7).
Version 1.0.5
September 24, 2024
Changed
- Changed behaviour of
ppplaceholderto allownullvalues forimageto be more in line with how Imager works.
Version 1.0.4
August 9, 2024
Changed
- Changed behaviour of
ppimgto allownullvalues forimageto be more in line with how Imager works.
Fixed
- Fixed an issue that would occur if width and/or height of an image/transform could be deducted (for instance for
imgixtransformer with external urls andgetExternalImageDimensionsset to false).
Version 1.0.3
May 14, 2024
Fixed
- Fixed incorrect naming of styles.
Version 1.0.2
May 13, 2024
Added
- Added support for
blurupTransformParamsconfig setting, it defaults to a blur effect.
Version 1.0.1
May 13, 2024
Added
- Added support for attribute handling equal to the attr filter.
Changed
- Changed handling of placeholder, the default
crafttransformer is always used for the base image (fixes #1).
Version 1.0.0
May 3, 2024
Added
- Initial public release