Meta Box
Support Forum
Support › Meta Box AIO › Advanced Image(s) to slider
Anywhere I can find code to create a slider out of multiple images that get put into the Advanced Images metabox field?
Hi Brian,
You can use the Slick JS to create a slider, please read more on the documentation https://docs.metabox.io/fields/image-advanced/#template-usage
And this to output the field image_advanced https://docs.metabox.io/fields/image-advanced/#template-usage
image_advanced
<div class="your-class"> <?php $images = rwmb_meta( 'info', array( 'size' => 'thumbnail' ) ); foreach ( $images as $image ) { echo '<a href="', $image['full_url'], '"><img src="', $image['url'], '"></a>'; } ?> </div>
Both links are the same. Did you mean to include a different link for the slick.js example?
Sorry, here is the documentation of Slick JS https://kenwheeler.github.io/slick/