I'm using a color attribute with images. I want to personalize the filter with the color image.
But I dont' know how acces to the attribute image url.
Solved! Go to Solution.
I am not sure if I understood your question.
If you are trying to get the thumbnail image for a product, you can use this code:
Please use configurable swatches available in magento and set-up properly. Also use this link for reference