How can I display grandchild menu images?

I’m now trying to capture grandchild’s images(featured product image), but the below code doesn’t work as the attached image shows.
Kindly let me know the solution.

{% for grandchildlink in childlink.links %}
<li{% if grandchildlink.active %} class=“site-nav–active”{% endif %}>
<a
href=“{{ grandchildlink.url }}”
class=“site-nav__dropdown-link”
data-meganav-type=“child”
{% unless request.page_type == ‘index’ %}{% if grandchildlink.active %}aria-current=“page”{% endif %}{% endunless %}
tabindex=“-1”>
{{ grandchildlink.title | escape }}

{% endfor %}

How did you make it work?

{% for collection in collections %}
{% for product in collection.products limit: 4 %}
{% if grandchildlink.url == product.url %}
{% if product.image %}

{% else %}
<img class=“col_img_drawer default” src=“{{ product.featured_image | product_img_url: ‘50x50’ }}” alt={{ product.price }} >
{% endif %}
{% endif %}
{%endfor%}
{% endfor %}