# How to optimize the image block thumbnails in the panel layout

**URL:** <https://forum.getkirby.com/t/how-to-optimize-the-image-block-thumbnails-in-the-panel-layout/33347>\
**Category:** Questions\
**Tags:** v4\
**Created:** [January 15, 2025, 1:56pm UTC](https://forum.getkirby.com/t/how-to-optimize-the-image-block-thumbnails-in-the-panel-layout/33347 "2025-01-15T13:56:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jankischlat](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jankischlat/32/7936_2.png) [@jankischlat](https://forum.getkirby.com/u/jankischlat)\
**Post date:** [January 15, 2025, 1:56pm UTC](https://forum.getkirby.com/t/how-to-optimize-the-image-block-thumbnails-in-the-panel-layout/33347/1 "2025-01-15T13:56:58Z")

</div>

Hi all,

if i use the gallery block with the starterkit in the panel, the preview images in the layout area are displayed with srcset images, which is fine.  
When using the image block, the panel displays the images in their original size, which of course greatly affects performance. how and where can I make the setting to display the image block thumbnails with srcset as well?

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [January 15, 2025, 2:04pm UTC](https://forum.getkirby.com/t/how-to-optimize-the-image-block-thumbnails-in-the-panel-layout/33347/2 "2025-01-15T14:04:08Z")

</div>

You can extend the default blocks to do what you want (or make your entirely). See here

> **[Customizing core blocks](https://getkirby.com/docs/guide/page-builder/customizing-core-blocks)**
>
> Learn the basics of modifying our core blocks and creating your own from scratch

---

<div class="post-metadata">

**Author:** ![jankischlat](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jankischlat/32/7936_2.png) [@jankischlat](https://forum.getkirby.com/u/jankischlat)\
**Post date:** [January 15, 2025, 4:08pm UTC](https://forum.getkirby.com/t/how-to-optimize-the-image-block-thumbnails-in-the-panel-layout/33347/3 "2025-01-15T16:08:26Z")

</div>

Does that mean I need to add srcset to the image Vue component?  
_Danger zone, never touched before! 😬_
