Commit 3420d914 authored by Hoppy's avatar Hoppy Committed by Nicolas Giard

turn off rgba on thumbnails to avoid being unable to upload files which don't fithe .contain() box

parent 0d81b529
......@@ -235,6 +235,7 @@ module.exports = {
return jimp.read(sourcePath).then(img => {
return img
.contain(150, 150)
.rgba(false)
.write(destPath)
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment