fitMode Not Working with Image

I’ve used the fitMode code on other pages on my website and it’s worked perfectly. For some reason, however, I am unable to get it to work in a repeater for logo images on this page:

https://www.appli.org/resources

The code I’m using is:

What am I doing wrong?

I’m bumping this, as I still haven’t found a working solution for this problem.

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” ;
});
})