fitMode Not Working with Image

RESOLVED:

Thanks to some assistance on the Wix Reddit forum, we ended up with the correct solution:

$w . onReady ( function () {
$w ( ‘#repeater1’ ). onItemReady ( ( $item , image ) => {
$item ( “#image31” ). fitMode = “fit” ;
});
})