How can I keep the same image when changing variants?
I have a responsive gallery component that reset images (back to the original component image) when choosing a different variant.
This was happening to us, we found out it was a bug in the design system. Can you share a file at all?
Make sure that the name of layer of image are same in all variants
It does not work.
Here’s a link:
Seems like you used the different images in variants (they looks identical, but they probably wasn’t copy of one image, but was loaded separately in each one, so Figma identifies them as different).
I just copied image from first variant and pasted to replace it in others and it works fine now.
That works!
But it doesn’t make sense it should work if the layers are exactly the same!
But you’ve manage to find a work around… Thanks
1 Like