image
image copied to clipboard
[IPX_ERROR] can't pass trim object
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"