Showing results for 
Search instead for 
Did you mean: 

Acces to the attribute Image


Acces to the attribute Image


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.





Re: Acces to the attribute Image

Hi @gpifarre,

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:

Mage::helper('catalog/image')->init($product, 'thumbnail');


Best regards.


If my answer was useful, please give "Kudos" to this post.
If my answer helps you to resolve the problem, click on "Accept as Solution".

Re: Acces to the attribute Image

Hi @gpifarre


Please use configurable swatches available in magento and set-up properly. Also use this link for reference

Let me know if it helps. You can raise a KUDOS if its really worth for you. Also if it solves your problem then please mark as SOLUTION.