Frontend Image (thumb) generation delay - best practice?

Hi everyone, I’m facing an issue with newly uploaded images in my Kirby site:

When accessing them for the first time in the frontend, there’s a noticeable delay while Kirby generates the thumbnails in the media folder (e.g. using the $image->thumb() function). During this process, visitors see a blank space until the image suddenly appears.

Has anyone found an elegant solution to handle this more gracefully? Maybe with placeholders, pre-generation, or progressive loading?

Just asking for a best practice :slight_smile:
Thanks in advance.

Placeholder are definitely an option, additionally you can also pre-generate all thumbs. The Janitor plugin has a job for this.