There is no API in Weaver or Weaver Show Sliders to accommodate direct manipulation of slider images via PHP.
If your images are defined by a custom post type (ACF gallery, perhaps? I don’t know myself.), then you might not even have to iterate through the images directly, but could use a [show_posts] + [show_sliders] filter directly via a shortcode.
But this adding JS to custom PHP is way beyond the level of support.