You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment if you use the Sitegeist.Kaleidoscope:AssetImageSource FusionObject and only parse a height value the scaling for the srcset is not calculating correctly. But the src is done right.
On the other side if only a width is given everything works like expected.
At the moment if you use the
Sitegeist.Kaleidoscope:AssetImageSource
FusionObject and only parse a height value the scaling for the srcset is not calculating correctly. But the src is done right.On the other side if only a width is given everything works like expected.
example:
Way to fix:
https://github.com/sitegeist/Sitegeist.Kaleidoscope/blob/master/Classes/EelHelpers/AssetImageSourceHelper.php#L73
Instant of
} else {
replace it with} else if (!$this->targetHeight) {
.Or is there any reason to don't do it?
Edit: I think it's related to this PR #1.
The text was updated successfully, but these errors were encountered: