Responsive Images for Block Image Elements

Hello there

I am quite new to Kirby and wanted to ask some help for the following problem:

I managed to optimize my images, so that only the size needed by the browser is being rendered (for faster image loading and being more eco-friendly). Everything works perfect except for images that I upload via blocks. I have seen in the guide that I used, that it should also be possible for block images, but I really can’t figure out how …

Thank you for your time!

For the blocks, you need to overwrite the default block snippets, and figure out a good way to using srcsets based on sizes depending where your blocks are used (e.g. sizes would be different in a three column layout than in a one column layout etc)

Thank you, finally figured it out :smiley: