Created
March 22, 2015 17:56
-
-
Save davefreiman/6d835d67d3aeb4f9e920 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$_product = $this->getProduct(); | |
$_helper = $this->helper('catalog/output'); | |
?> | |
... | |
<?php foreach ($this->getGalleryImages() as $_image): ?> | |
<li> | |
<a href="#" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>"> | |
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(56); ?>" width="56" height="56" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" /> | |
</a> | |
</li> | |
<?php endforeach; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment