Load all content's gallery

Hi,
I use slide deck gallery with this code to go next picture on click :

export function gallery1_itemClicked(event) {
$w(“#gallery1”).next();
}

It works well but it takes time to load each picture.
There is any way to load all pictures’s gallery on website load ?
https://www.boman.fr/home-test

Thanks
Laurent

If your images are saved in a dataset then you can simply include that dataset in your onReady page function so that the page and the dataset load.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#onReady

Thank you, perfect !