Skip to content

Releases: WPP-Public/akqa-nz-silverstripe-responsive-images

3.0.0

18 May 01:52
2d7dc0d
Compare
Choose a tag to compare

Initial release supporting Silverstripe CMS 5.

This should also be compatible with CMS 4, but future versions of this major version may not be.

Use version ^2 of this module for guaranteed CMS 4 support.

Fixed obsolete 'setWidth' method on ImageManipulation

02 Oct 22:49
c5d1b39
Compare
Choose a tag to compare

Allow template overrides for individual image sets

12 Aug 20:48
05e0ec0
Compare
Choose a tag to compare
Merge pull request #25 from spaceship-operators/feature/image-template

Allow template overrides for individual image sets

Fix: Extension should also be applied to DBFile

09 Aug 21:38
e93856d
Compare
Choose a tag to compare
Merge pull request #29 from kinglozzer/dbfile-extension

FIX: Extension should also be applied to DBFile

2.0.1

16 Jul 22:57
Compare
Choose a tag to compare

Allow for flexible module location using vendor-expose

1.0.1: Fix configuration inconsistent with image resize API

17 Apr 09:44
Compare
Choose a tag to compare

Merged changes into the 1.0 branch:

  • Work with higher level resize methods instead of getFormattedImage (#18)

SS4 compatibility

14 Aug 23:18
Compare
Choose a tag to compare
2.0.0

Merge branch 'bigfork-4-compat'

1.0.0: Picturefill 3.x, improved yaml config

08 May 20:30
Compare
Choose a tag to compare
  • Upgrade to picturefill v3.0.2
  • Change YAML format to allow more than 2 arguments to be passed to image processing methods (useful for methods such as PaddedImage)
  • Changed YAML format for "sizes" to "": instead of - {query: "", size: "AxB" }
  • Added namespace to extension class

Big thanks to @kinglozzer for all of the work in this release.

Upgrading from 0.x

Compare usage section of the readme between 0.1.0/0.1.1 and 1.0.0 for more examples.

  • Use namespaced class in config Heyday\ResponsiveImages\ResponsiveImageExtension

  • Rename sizes key in responsive set definitions to arguments

  • Update children of the sizes key to make the query the key, and replace the dimensions strings with an array with one or two elements:

    sizes:
      - {query: "(min-width: 400px)", size: 300x300}
      - {query: "(min-width: 200px)", size: 100}

    becomes

    arguments:
      "(min-width: 400px)": [300, 300]
      "(min-width: 200px)": [100]

0.2.0: Picturefill 2.x

05 May 23:17
Compare
Choose a tag to compare

This is a late release of #6. Note this release includes breaking changes:

  • Picturefill javascript library updated from 1.x to 2.x
  • Breaking: members of the sizes array in the config (ResponsiveImageExtension.sets.[SetName].sizes) now rely on definition order to match. Upgrading from 0.1.x requires reversing the members of this array to achieve the same behaviour (example).

0.1.1 - bug fixes

27 Oct 20:15
Compare
Choose a tag to compare

This release contains two bug fixes that have been sitting in master for the last while:

  • Fix typo in exception class name (808af31)
  • Fix compatibility with IE8 and older (d217044)