The image of the "relate" tag does not display correctly

While on the page of the material itself, below it, I try to display similar materials using the relate tag.

The title is displayed correctly, but the image is not.

How can I display the correct image in relate, which really belongs to this material?


--- title: 'title' shop_img: - /assets/img/sunset-by-the-pier.jpg - /assets/img/628-2509x1673.jpg shop_products: - c42e109e-a54d-40df-8a07-d7e85dd8344a - fbe898e9-ee2b-4675-8d94-b22e619339b2 id: 9931803c-7d3c-4a14-98b1-f12b9f518dfc

.......

<div class="row">

<div class="col">

{{ assets:shop_img }}

    <p><img src="{{ url }}"></p>

{{ /assets:shop_img }}

</div>


<div class="col">

    <h1>{{ title }}</h1>

    {{ content }}

</div>


</div>


{{ if shop_products }}


<p>Related products</p>


{{ relate:shop_products }}

<p>{{ title }}</p>

<p>

{{ asset:shop_img }}

    <img src="{{ url }}">

{{ /asset:shop_img }}    

</p>

{{ /relate:shop_products }}


{{ /if }}

>>>>>>> Unanswered <<<<<<<
1 Reply
2 Followers