Hello, I'm a new user from Toolset.
I would like to display only the first image from an advanced image field in a MB view.
To display the urls of all the images this code works well.
{% for item in post.image_advanced_jz5jk5t1wfd %}
{{ item.medium.url }}
{% endfor %}
Is it possible to add a limit to see only the first item ?
I've seen this code on the documentation :
<?php $images = rwmb_meta( 'my_field_id', ['limit' => 1] ) ?>
<?php $image = reset( $images ) ?>
">
I tried to update it to make work in view but I got an error.
Thanks.