cancel
Showing results for 
Search instead for 
Did you mean: 

Acces to the attribute Image

SOLVED

Acces to the attribute Image

Hi,

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.

 

Thanks!

Gerard.

1 ACCEPTED SOLUTION

Accepted Solutions

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

https://www.templatemonster.com/help/magento-how-to-add-and-manage-configurable-swatches.html#gref

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.

View solution in original post

2 REPLIES 2

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.

Gabriel 

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.

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

https://www.templatemonster.com/help/magento-how-to-add-and-manage-configurable-swatches.html#gref

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.