Need help to connect and display Wix Pro Gallery in the lightbox by clicking the repeater

// PAGE-CODE…

import wixWindow from 'wix-window';
import wixData from 'wix-data';

$w.onReady( () => {
    let toSendData = $w('#dataset1').getCurrentItem(); console.log(toSendData);

    $w('#container9').onClick(()=>{wixWindow.openLightbox('ExGallery', toSendData);});
});



// LIGHTBOX-CODE...
import {lightbox} from 'wix-window';

$w.onReady( () => {
    let lbData = lightbox.getContext(); console.log("Recieved LightBox-Data: ", lbData);
    
    $w("#text12").text = lbData.projectName;
    
    $w("#WPGallery").items = [{
        "type": "image",
        "src": lbData.gallery,
    }];
});

The data you want to put into your GALLARY-Element must look like…

$w("#myGallery").items = [{
        "type": "image",
        "title": "A View",
        "src": "wix:image://v1/99bc1c6f66444769b531221214c885ac.jpeg/A%20View.jpeg#originWidth=3264&originHeight=2448"
        }, {
        "type": "video",
        "description": "Another beautiful view",
        "title": "Another View",
        "src": "wix:video://v1/80c05f_e2c524db1f264178a8558c92dbf76fb0/_#posterUri=80c05f_e2c524db1f264178a8558c92dbf76fb0f000.jpg&posterWidth=1920&posterHeight=1080"
    }];

An ARRAY filled with OBJECT-DATA.
Very similar to REPEATER-DATA.

Chek what you get in console as OUTPUT for …

console.log("Recieved LightBox-Data: ", lbData);