I have a metafield in my page which accepts a metaobject as its input type. In a section referencing this page metaobject I can access the fields which have a single input type no problem using this:
{% assign myMetaobject = page.metafields.custom.example.value %}
This lets me access fields with single or multi line text inputs using myMetaobject.title or myMetaobject.description. But I also have a field which accepts multiple files, specifically image and video. This is where I am struggling to access the files in a loop.
If I try this {{ myMetaobject.images }} it prints:
[“gid://shopify/MediaImage/25857330184378”,“gid://shopify/MediaImage/25863258636474”,“gid://shopify/MediaImage/25863258570938”]
If I try to do a for loop on myMetaobject.images, it doesnt print anything out. Any ideas?