I followed this tutorial on how to build a custom WordPress Gutenberg Block: https://neliosoftware.com/blog/how-to-create-your-first-block-for-gutenberg/
This first block is nice, but I would like to use a custom images size in this block. This image size should the also be responsive, that means on the front end srcset attributes to other image sizes should be added.
I'm searching the internet for a long time but didn't find something. With the standard image-block or gallery-block resized images from wordpress are used but for me this whole code is too complicated to follow because I am not yet used to the Gutenberg way of coding...
Is there any existing guide or code example on how this could be archeived?
Best Lukas