# Cover image in pages section - panel

**URL:** <https://forum.getkirby.com/t/cover-image-in-pages-section-panel/12797>\
**Category:** Questions\
**Tags:** v3\
**Created:** [February 10, 2019, 4:58pm UTC](https://forum.getkirby.com/t/cover-image-in-pages-section-panel/12797 "2019-02-10T16:58:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 10, 2019, 4:58pm UTC](https://forum.getkirby.com/t/cover-image-in-pages-section-panel/12797/1 "2019-02-10T16:58:33Z")

</div>

I have a pages field, I want to show the first sorted image as the cover thumbnail - how can I do this, at the moment I think its showing the last first uploaded.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 10, 2019, 5:03pm UTC](https://forum.getkirby.com/t/cover-image-in-pages-section-panel/12797/2 "2019-02-10T17:03:25Z")

</div>

Should be

```auto
query: page.images.sortBy('sort', 'asc').first

```

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 10, 2019, 5:05pm UTC](https://forum.getkirby.com/t/cover-image-in-pages-section-panel/12797/3 "2019-02-10T17:05:33Z")

</div>

> [@texnixe](#):
>
> ```auto
> query: page.images.sortBy('sort', 'asc').first
> 
> ```

thanks, needs the image (for those that does know):

```
    image:
      query: page.images.sortBy('sort', 'asc').first

```

would it make sense to have this as the default?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 10, 2019, 5:06pm UTC](https://forum.getkirby.com/t/cover-image-in-pages-section-panel/12797/4 "2019-02-10T17:06:45Z")

</div>

> [@\_gareth\_j](#):
>
> would it make sense to have this as the default?

Why should this be the default? That only makes sense if images are sorted manually.
