Rendering collection image on Ella theme

joeeverett
Tourist
7 0 0

 

Hello!

I am trying to get my collection image to show on the Ella theme. I think the collection image is rendered from this code below, could someone help me with what I should put in collection description in order to render the image?

{% if collection.description contains 'img' %}
    {%- assign img_url = collection.description | split: '<img' | last | split: '>' | first -%}
     {% endif %}

 

Thanks in advance, Joe.

0 Likes