Magento MobileShoppe Theme: Main Image Repeats in Gallery

Eliminate duplicate images in the product gallery using Magento MobileShoppe theme!
Eliminate duplicate images in the product gallery using Magento MobileShoppe theme!

Why does the main product image repeat itself in the slideshow gallery on the product details page when using the MobileShoppe theme in Magento?

Go to the folder located at /app/design/frontend/default/mobileshoppe/template/catalog/product/view/

...and open the file "media.phtml"

...and comment-out the following lines:

        $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize().'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
        echo $_helper->productAttribute($_product, $_img, 'image');

*Poof* - the main product image will no longer duplicate itself in the gallery.

Tags: