ntpq -pn

[email protected]:~# ntpq -pn                                                                         
     remote           refid      st t when poll reach   delay   offset  jitter                  
==============================================================================                  
-67.198.200.4    69.89.207.199    3 u   30   64    1    1.182   -0.029   0.000                  
+216.239.35.0    .GOOG.           1 u   20   64    1   52.571    0.660   0.240                  
+216.239.35.4    .GOOG.           1 u   20   64    1   36.033    1.016   0.176                  
-216.239.35.8    .GOOG.           1 u   24   64    1  140.712    1.154   0.286                  
*216.239.35.12   .GOOG.           1 u   23   64    1  126.636    1.082   0.233

 

Magento 1.9.3.1 – Add images/icons to attribute options to replace placeholder image of your Magento products page

magento 1.9.3.1


view.phtml around line 100 replace the if statement

<?php if($_item->getColor()): ?>

<?php
$optionId = $_item->getColor();
$optionIdurl = Mage::helper('attributeoptionimage')->getAttributeOptionImage($optionId)
?>

<a href="#" class="color_swatch">

<?php if (strpos( $this->helper('catalog/image')->init($_item, 'small_image')->resize(100, 150), 'placeholder')) {
?>
<img src="<?php echo $optionIdurl; ?>" />
<?php
} else {
?>
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(100, 150); ?>" />
<?php } ?>

<?php endif; ?>

 

reference:
http://www.bubblecode.net/en/2012/02/05/magento-add-images-to-product-attribute-options/

https://github.com/aligent/magento-attribute-option-image