File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
DistributionPackages/Neos.NeosIo/Resources/Private/Fusion/Overrides Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,13 @@ prototype(Neos.NodeTypes:Image) < prototype(Neos.Neos:ContentComponent) {
1919 height = null
2020 maximumHeight = null
2121 maximumHeight.@process.override = ${q(node).property('customHeight') || value}
22+ maximumHeight.@process.toInt = ${Type.isString(value) ? String.toInteger(value) : value}
2223
2324 width = null
2425 // The maximum page width 1096 * 2
2526 maximumWidth = 2192
26- maximumWidth.@process.override = ${q(node).property('customWidth') || value}
27+ maximumWidth.@process.override = ${String.toInteger(q(node).property('customWidth') || value)}
28+ maximumWidth.@process.toInt = ${Type.isString(value) ? String.toInteger(value) : value}
2729
2830 allowCropping = false
2931 allowUpScaling = false
@@ -58,7 +60,7 @@ prototype(Neos.NodeTypes:Image) < prototype(Neos.Neos:ContentComponent) {
5860 addImageStyle.@if.isSet = ${!String.isBlank(q(node).property('imageStyle'))}
5961 }
6062
61- thumbnail = ${props.image ? Neos.Seo .Image.createThumbnail(
63+ thumbnail = ${props.image ? Neos.Media .Image.createThumbnail(
6264 props.image,
6365 null,
6466 props.width,
You can’t perform that action at this time.
0 commit comments