Cover image in pages section - panel


#1

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.


#2

Should be

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

#3

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?


#4

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