Custom Slider/Carousel using URL's from a cloneable Meta Box Group

Hi everyone, I have a cloneable meta box field “Images” with a “href” URL field nested inside. I have around 70 images in each post which I need to put into a slider. I can dump all of the images onto the page using the following PHP code:

<?php
  $images = rwmb_meta( 'media_images' ) ?: [];
  foreach ( $images as $image ) {
      echo '<div class="image">';
      echo '<img src="' . $image['href'] . '">';
      echo '</div>';
  }
?>

But I’m really unsure on how to get these into a slider. I have Bricks Extras and asked their support team for help also but with no luck. I’m open to using other sliders or custom codes if needed. Any help would be much appreciated!

1 Like