Dynamic Slider with Metabox Image Advanced Custom field

I was able to use de code field from bricksbuilder and php code from meta box to render the images in my template, in my custom code output I gave assigned the bricks classes to the rendered output:

Screenshot 2024-03-19 at 13.44.06

<?php
// Displaying uploaded images:
$images = rwmb_meta( 'afbeeldingen', [ 'size' => 'full' ] );
?>
	<?php foreach ( $images as $image ) : ?>
<div class="brxe-block splide__slide"><img src="<?= $image['url']; ?>"></div>
	<?php endforeach ?>

Afbeeldingen is the ID of my image_advanced field in Meta Box.

After that I only had to write some custom CSS to make the images fit in my Bricks slider.

Then I was able to loop over my template with a normal query loop by selecting my custom post type.

Result: