Error on creating images variants
EzeRangel opened this issue · 0 comments
EzeRangel commented
Hi it seems I found a bug, while trying to upload images with resized variants I receive this error:
{ "errors": [ { "message": "The \"path\" argument must be of type string. Received null" } ] }
This is my imageSizes
config:
imageSizes: [
{
name: "small",
width: 400,
height: 400,
position: "center"
},
{
name: "medium",
width: 800,
height: undefined,
position: "center"
},
],
Reproduction:
Just try to upload an image which dimensions are lower than one of the variants, for ex: an 700x300 jpg.