Support `format` and add Sitegeist.Kaleidoscope:Source prototype
Add format
option for imageSources setFormat()
for helpers and prototype Sitegeist.Kaleidoscope:Source
Supported formats are amongst others: webp
, png
, jpg
, jpeg
(!!! the format has to be supported by the current imagine driver)
- the
format
option in the *ImageSource prototypes allows to set the format on ImageSource Definition - the
setFormat()
method of the *imageSourceHelpers allows to do this later to already define ImageSourceHelpers on the presentation side - the prototype
Sitegeist.Kaleidoscope:Source
is used insideSitegeist.Kaleidoscope:Picture
for the rendering of sources but it can may also be used standalone
In addition the dummyImageSource will now return a fallback image with statusCode 500 in case any exception occurs. This can happen if the Imagine driver does not support drawing or the chosen format.
This could have been released as feature version but since it will require adjustments in Sitegeist.Lazybones it is safer to raise the major version.