fablabbcn / fablabbcn-legacy-web

Fab Lab Barcelona legacy website
https://legacy.fablabbcn.org
4 stars 11 forks source link

Compressing images on upload! #10

Open viktorsmari opened 5 years ago

viktorsmari commented 5 years ago

When someone adds an image for a blog post, they are responsible to choose a nice image. They should also be responsible for compressing the image!

For now, images should in general not exceed 1920px width. Images that are 5000x3000 are a total overkill.

There are free and easy to use services like: https://tinypng.com/ https://tinyjpg.com/

Maybe in the future we could use a plugin to compress, but then the uploaded images could be kept which increases the size of the repo, which we don't want.

The easiest way is that users simply upload compressed, ready to use images.