Issue with making variant swatches into variant images

Tom_Hooker
Shopify Expert
73 4 10

Help? Not sure if I'm missing something obvious here but I want my color swatch feature to change the variant images instead, I changed the background-image part of the code to this but it keeps coming up with the no image sign, when there's defiantly images as variants set in the product back end:

 

background-image: url({{ variant.image | img_url: 'small' }});
 
Any advice or help greatly appreciated...
On The Road Shopify Agency
Helping Shopify stores to become greater with purpose behind design.
info@ontheroaduk.co.uk
http://ontheroaduk.co.uk/
0 Likes
GM-Mart
Tourist
3 0 1

Hi, I need help. I'm using impulse theme.

0 Likes