Show specific images from categories in database based on filter ?

Hello,

I have a collection of books (#dataset4) and I’m trying to show specific images from this collection.
#image14 is linked to #dataset4 but I would like to show the first image of a specific category (ex. Sarabande) in my Collection
#image16 is linked to #dataset4 but I would like to show the first image of a specific category (ex. Murmure) in my Collection
etc…

I know I can filter the dataset to show only one category but how can I show 10 first images of 10 specific categories without creating 10 different datasets (with specific filter in each one of them) ?

I’m pretty sure it’s possible with simple coding but I can’t find the solution.

I tried this but it doesn’t work :S

// Pour filtrer les images des menus
import wixData from "wix-data";
function filter() {
let filter = wixData.filter(); 

$w("#image14");
filter = filter
     .contains('collection', "Sarabande")

$w("#image15");
filter = filter
     .contains('collection', "Impromptu")

$w("#image16");
filter = filter
     .contains('collection', "Murmure")

    $w('#dataset4').setFilter(filter)
 
}

My coding skills are quite weak sorry.