Gift Card - Custom Image Based on Variant

I see I’m late, but if anyone’s still looking for a way to do this here’s how I did it.

I added the variant image as a line item property (_variantImage so that customers don’t see it) and then read it from gift_card.properties