kk worked, thanks 🙂
Since it's just a board to test NodeBB it's ok to reset anything 🙂
I was trying to upload a picture and got an “array buffer allocation failed” and “parse error” on the second try.
On this forum? Can you upload the image somewhere so we can give it shot?
It was on my forum. Apparently when I upload using the upload image button it fails, but when I uploaded with the upload file it succeeded. I’m guessing there’s some sort of image processing when I use the first one?
Yeah uploading as image may resize the image depending on size and the ACP setting https://github.com/NodeBB/NodeBB/blob/master/src/controllers/uploads.js#L70-L74
Looks like it is an issue with one of the dependencies of jimp, namely jpeg-js, maybe it's time to switch to http://sharp.dimens.io/en/stable/ as suggested in that issue.
Was any fix implemented for this?
I'm getting this problem when trying to upload a 6.8Mb photo.
(I'm also using the plugin: nodebb-plugin-extended-markdown if that makes any difference).
I guess I wish I could upgrade to the latest version of NodeBB...but I already know that causes other problems and have recently reverted back to v1.6.1.
We replaced jimp with sharp so this issue should be resolved now, you can test upgrading latest on a staging environment.
@baris Ok. Thanks!