diff --git a/blocks/CloudImageEditor/src/lib/transformationUtils.js b/blocks/CloudImageEditor/src/lib/transformationUtils.js index 862498ea1..03774c85a 100644 --- a/blocks/CloudImageEditor/src/lib/transformationUtils.js +++ b/blocks/CloudImageEditor/src/lib/transformationUtils.js @@ -86,7 +86,7 @@ const asNumber = ([value]) => (typeof value !== 'undefined' ? Number(value) : un const asBoolean = () => true; const asFilter = ([name, amount]) => ({ name, - amount: Number(amount), + amount: typeof amount !== 'undefined' ? Number(amount) : 100, }); // Docs: https://uploadcare.com/docs/transformations/image/resize-crop/#operation-crop