Snowdays23 / landing-page

MIT License
2 stars 2 forks source link

Images used must compressed in tiny images (not for SVGS!) #4

Open francescomazzini opened 2 years ago

francescomazzini commented 2 years ago

Images should be compressed. Especially PNG must become TINY with a website like tinypng

dododevs commented 2 years ago

It is possible to automatize the compression with node modules, in order to get optimized images (and other assets) on build. This one looks more promising: gulp-sharp-responsive to be used with the gulp toolkit. More info here (referred to angular but should be valid). Will add it to the project when refactoring is done and more urgent tasks are completed.

francescomazzini commented 1 year ago

In the end that library was giving many problems because of other dependencies. Opted for a manual normal way. Used https://www.iloveimg.com/resize-image/resize-png#resize-options,pixels and https://tinypng.com/