jreinke/magento-attribute-option-image — pull request #4 by witrin (2012-06-21 19:26:43+00:00)
Title: Performance and integration

I've used your solution and changed some aspects regarding the performance and the integration. Herewith you could use it like in this [wiki articel](http://www.magentocommerce.com/wiki/5_-_modules_and_development/navigation/add_dropdown_list_of_manufactures_or_another_attribute). But I tested it only in product views. Maybe it's usefull.

```php
/* @var $_attribute Mage_Catalog_Model_Resource_Eav_Attribute */
$_options = $_attribute->getSource()->getAllOptions();

foreach ($_options as $_option) {
echo $_option['image'];
echo $_option['thumbnail'];
}
```