こちら の質問に近いのですが、メタフィールドをファイル(リスト)にした時の代替テキストの抽出方法をご存知の方がいらっしゃれば、ご教授いただきたいです。
以下のコードで画像自体は抽出できるのですが、画像に対しての代替テキストをaタグ内に抽出したく思っております。
{% for file in product.metafields.custom.product_image.value %}
{% assign file_name = file | split: '/' | last %}
<div class="tab_imagephoto_imgbox">
<a href="{{ file_name | file_url }}">
<img src="{{ file_name | file_url }}">
</a>
</div>
{% endfor %}