Issue with 'fitmode' for images when using multiple repeaters on one page

Hi there
I’m no coder however am try to solve a problem and hope someone can help out.

I have set the following code so the image loaded into the chosen image element size auto adjusts to be in proportion no matter the size of the image.

$w(“#image24”).fitMode = “fit”

This is setup with a Dynamic page inside a repeater. This works perfectly, however when I add in 3 separate repeaters to the same page then set the above code to each repeater the code will only work on one repeater.

What am I missing?

Without seeing the code I’ll have to guess, but my guess would be that you didn’t change #image24 into the correct names for the images in the other repeaters?

To better help answering the question, it would be nice to see the code

Hey, thanks for answering.
I have changed the image number but it doesn’t