image icon indicating copy to clipboard operation
image copied to clipboard

[IPX_ERROR] can't pass trim object

Open vDk3 opened this issue 1 year ago • 0 comments

According to the documentation i should be able to pass modifiers like this: <NuxtImg src="/image.png" :modifiers="{ grayscale: true, tint: '#00DC82' }" />

but when i do: <NuxtImg src="/image.png" :modifiers="{ trim: { threshold: 50 } }" />

(https://sharp.pixelplumbing.com/api-resize#trim)

i get error:

"message": "[500] [IPX_ERROR] Expected object for trim but received [object Object] of type string"

vDk3 avatar Feb 06 '24 18:02 vDk3