Skip to content

Commit

Permalink
Merge pull request #60 from sitegeist/bugfix/applyWidthAnHeightAlsoWh…
Browse files Browse the repository at this point in the history
…enFormatsOptionIsUsed

BUGFIX: Apply `width` and `height` constraints defined for the main e…
  • Loading branch information
mficzel committed Sep 7, 2022
2 parents 6a2ea79 + b4abc55 commit 2520820
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Resources/Private/Fusion/Prototypes/Picture.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ prototype(Sitegeist.Kaleidoscope:Picture) < prototype(Neos.Fusion:Component) {
collection={Type.isArray(props.formats) ? props.formats : String.split(props.formats, ',')}
itemName="format"
>
<Sitegeist.Kaleidoscope:Source format={String.trim(format)} />
<Sitegeist.Kaleidoscope:Source
imageSource={props.imageSource}
format={String.trim(format)}
/>
</Neos.Fusion:Collection>
<Sitegeist.Kaleidoscope:Image
imageSource={props.imageSource}
Expand Down

0 comments on commit 2520820

Please sign in to comment.