Display Custom Image Attributes in Gallery

Permalink
Hello,

i have a simple gallery and would like to show the created custom attributes of the images here.
The standard attributes of the images I can use e.g.
<?php echo $image['thumbnailUrl']; ?>
to display them.

But I cannot access custom attributes this way.

In an older version of concrete5 I could access the loop <?php foreach ($images as $img): ?>
simply by ($img['attributes'][','myAttribut'])
access it. Unfortunately this does not work in version 8.5.2.

How can I read and display the attributes, does anyone have a hint?

best regards,
Daniel

difference
 
mnakalay replied on at Permalink Reply
mnakalay
It looks like the gallery is doing work in the background to present data a certain way so you'd need to know how to grab the image object to get an attribute from it.

Is it a custom gallery o one from the marketplace?

If the marketplace which one is it?