Craft Imageoptimize Versions Save

Automatically create & optimize responsive image transforms, using either native Craft transforms or a service like Imgix, with zero template changes.

5.0.0

3 weeks ago

Added

  • Stable release for Craft CMS 5

5.0.0-beta.2

1 month ago

Added

  • Added the ability to pass in a config array to .imgTag(), .pictureTag() and .linkPreloadTag()

Changed

  • Changed .loading().loadingStrategy(), .artDirection()addSourceFrom()

4.0.7

1 month ago

Added

  • Added the ability to pass in a config array to .imgTag(), .pictureTag() and .linkPreloadTag()

Changed

  • Changed .loading().loadingStrategy(), .artDirection()addSourceFrom()

1.6.53

1 month ago

Added

  • Added the ability to pass in a config array to .imgTag(), .pictureTag() and .linkPreloadTag()

Changed

  • Changed .loading().loadingStrategy(), .artDirection()addSourceFrom()

5.0.0-beta.1

1 month ago

Added

  • Initial Craft CMS 5 compatibility
  • Add .imgTag() to the OptimizedImage model, which generates a complete <img> tag from the OptimizedImage
  • Add .pictureTag() to the OptimizedImage model, which generates a complete <picture> tag from the OptimizedImage
  • Add .linkPreloadTag() to the OptimizedImage model, which generates a complete <link rel="preload"> tag from the OptimizedImage
  • Add craft.imageOptimize.renderLazySizesJs() to render the LazySizes JavaScript for lazy loading images
  • Add craft.imageOptimize.renderLazySizesFallbackJs() to render the LazySizes JavaScript with a support script that uses LazySizes as a fallback for browsers that don't support the loading property

Changed

  • Added PDF to the Ignore Files field settings (#364)

4.0.6

1 month ago

Added

  • Added a --queue option to the image-optimize/optimize/create console command if you want to defer the image generation to be run via queue job, rather than immediately via the console command
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action
  • Add .imgTag() to the OptimizedImage model, which generates a complete <img> tag from the OptimizedImage
  • Add .pictureTag() to the OptimizedImage model, which generates a complete <picture> tag from the OptimizedImage
  • Add .linkPreloadTag() to the OptimizedImage model, which generates a complete <link rel="preload"> tag from the OptimizedImage
  • Add craft.imageOptimize.renderLazySizesJs() to render the LazySizes JavaScript for lazy loading images
  • Add craft.imageOptimize.renderLazySizesFallbackJs() to render the LazySizes JavaScript with a support script that uses LazySizes as a fallback for browsers that don't support the loading property

Changed

  • Added PDF to the Ignore Files field settings (#364)
  • Updated docs to use node 20 & a new sitemap plugin
  • Switch over to Vite ^5.0.0 & Node ^20.0.0 for the buildchain
  • PHPstan code cleanup
  • ECS code cleanup

1.6.52

1 month ago

Added

  • Added a --queue option to the image-optimize/optimize/create console command if you want to defer the image generation to be run via queue job, rather than immediately via the console command
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action
  • Add .imgTag() to the OptimizedImage model, which generates a complete <img> tag from the OptimizedImage
  • Add .pictureTag() to the OptimizedImage model, which generates a complete <picture> tag from the OptimizedImage
  • Add .linkPreloadTag() to the OptimizedImage model, which generates a complete <link rel="preload"> tag from the OptimizedImage
  • Add craft.imageOptimize.renderLazySizesJs() to render the LazySizes JavaScript for lazy loading images
  • Add craft.imageOptimize.renderLazySizesFallbackJs() to render the LazySizes JavaScript with a support script that uses LazySizes as a fallback for browsers that don't support the loading property

Changed

  • Added PDF to the Ignore Files field settings (#364)
  • Updated docs to use node 20 & a new sitemap plugin
  • Switch over to Vite ^5.0.0 & Node ^20.0.0 for the buildchain
  • PHPstan code cleanup
  • ECS code cleanup

4.0.5

11 months ago

Changed

  • Automate release generation via GitHub action
  • Add versioning to the docs

Fixed

  • Side-step an issue which caused Craft 4.4.x to do unwanted image transform work even when using an external service to do the transforms (#373) (#13018)
  • Remove the old Craft generated transform that's still sitting in the temp directory (#380)

1.6.51

11 months ago

Changed

  • Automate release generation via GitHub action
  • Add versioning to the docs

Fixed

  • Remove the old Craft generated transform that's still sitting in the temp directory (#380)

4.0.4

1 year ago

Changed

  • Use dynamic docker container name & port for the buildchain
  • Update the buildchain to use Vite ^4.0.0
  • Updated docs to use VitePress ^1.0.0-alpha.29
  • Refactored the docs buildchain to use a dynamic docker container setup