Image Metafield - Remove "_small"

nicknemeth
Visitor
2 0 0

I am using a custom files metafield on my product page, to display a list of icon attributes (i.e. awards) on certain products where I've uploaded the corresponding image:

nicknemeth_0-1699934698721.png

 

I have the following liquid snippet in place to parse whether or not to display anything:

{% if product.metafields.custom.product_page_iconslist != blank %}
{{ product.metafields.custom.product_page_iconslist | img_tag }}
{% endif %} 

 

The good news is, the image displays where appropriate, however, something is causing the image to be resized (shrunk):

nicknemeth_1-1699934817933.png

 

 

When I inspect the code, I see that "_small" is being appended to the filename. I've tried resizing the image, but that doesn't seem to do anything, and I can't figure out how to display the image as intended, and with the current sizing, the image is illegible. Any suggestions on how I can resolve this?

Replies 2 (2)
theycallmemakka
Shopify Partner
1003 203 217

can you provide link to your store?

❤️❤️

Buy me a coffee


For quick response - Message Me


Increase Xmas sales with BOGO+ Easy Free Gift Upsell. Get 30% OFF for 3 months with code "BFWIZZ30".

nicknemeth
Visitor
2 0 0

Yep, it's https://www.barkandbitter.com -- the shop is password-protected right now while I do some development, but can be accessed with password 'miwhau'