Resize pictures for performance
Our images are very high-sized @kmohrf noticed.
- The logo on the home are is about 172kB.
- The blank image used for shows without image is 306kB .png file
My feeling how to solve that:
- The original SVG of the logo is 17kB, are we able to use it directly?
- It seems that the images are generated by an api call from the server in the requested size and format. An API call looks like this:
/api/v1/images/1/render?width=240&height=240&format=WEBP
. Changing size is possible. We can define an default image in the backend and not (as now) in thekno. Then we can use the already implemented function to deliver the image.