Fit images in gallery

Hey everyone,
I have an image gallery that gets her items from corvid using this code:

$("#gallery1").items = pictures;

Pictures is an array of picture sources.
The gallery works just fine and i’m able to see the pictures.
How ever, some of the pictures being cropped because of their size, and I cannot see them properly,
I tried to select in the gallery settings “Fit” option, but than all of the pictures is blank black and I cannot see anything, except the correct number of pictures.
I guess it doesn’t work because of the mix between editor and corvid.
Im aware about image.fitMode() function but i’m not sure about how to implement it to a gallery.
Any ideas?
Thanks a lot

Up ! Same problem… Any solution yet ?

Solution was to use pro gallery

Thanks but my problem in the pro gallery is this one : https://www.wix.com/corvid/forum/community-discussion/align-image-inside-gallery