Open utterances-bot opened 2 years ago
Build a high-performance image thumbnail generator using a Firebase Storage Cloud Function and Sharp.
https://fireship.io/lessons/image-thumbnail-resizer-cloud-function/
This didn't work for me until I added the file extension to thumbName.. i.e, const thumbName = thumb@${size}_${fileName}.png
thumb@${size}_${fileName}.png
Image Thumbnail Resizer Cloud Function
Build a high-performance image thumbnail generator using a Firebase Storage Cloud Function and Sharp.
https://fireship.io/lessons/image-thumbnail-resizer-cloud-function/