resize
This block is part of the files group and was last modified in core v13.0.5.
resize
v13.0.5
resize given images with new dimensions
| Pin | Pin | Type | Default |
|---|---|---|---|
| flow |
flow |
||
Filesrequiredv10.5.10The files to be resized. The resize will create new files and not overwrite the old ones. |
file |
||
| Width The new width in pixels. Leave empty to auto-scale the height |
number |
||
| Height The new height in pixels. Leave empty to auto-scale the width |
number |
||
| Quality The quality of the file (1-100) |
number |
||
| Fit Default: cover. Options: cover, contain, fill, inside, outside |
value |
||
| Position Can only be used with fit cover or contain. Default: centre. Options: top right top, right, right bottom, bottom, left bottom, left, left top, centre |
value |
||
optionsv13.0.5Sharp options to be used during resize. |
object |
| Pin | Pin | Type | Example |
|---|---|---|---|
| flow |
flow |
||
Resized filesrequired |
file |
||
| Success True if all images succeeded. False if one or more images are failing |
condition |
||
| Errors Error messages |
array |
||
FailedrequiredFiles which were not resized. |
file |
Core Releases
v13.0.5 This block was introduced inv13.0.5, click here to see the release notes.
Back to
files
Return to the main group to view all sub-groups
Back to image
Return to the group to view all blocks within this group