It looks like you’re reusing an id for each image. In that case, Js will only select the first element it runs into with the id
It looks like you’re reusing an id for each image. In that case, Js will only select the first element it runs into with the id