Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

iphone theme
 
dedoo
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2013-01-19
 

Hello,

I’m having an issue with the iphone theme that I’m trying to start using.
when viewing the product page and slide through the images the first image alway’s shows twice.

I think I need something changed in media.phtml but I’m really no php expert so if you could please help me out it will be much appreciated.

Kind regards

?>
<?php
    $_product 
$this->getProduct();
    
$_helper $this->helper('catalog/output');
?>
<div class="product-image-wrap">
    <
div class="product-image">
        <
ul><!--
            --><
li>
                
<?php
                    $_img 
'<img src="'.$this->helper('catalog/image')->init($_product'image')->resize(300).'" width="300" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />';
                    echo 
$_helper->productAttribute($_product$_img'image');
                
?>
            
</li><!--
            
<?php if (count($this->getGalleryImages()) > 0): ?>
                <?php 
foreach ($this->getGalleryImages() as $_image): ?>
                    
--><li><a href="<?php echo $this->getGalleryUrl($_image) ?>" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(300); ?>" width="300" height="300" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" /></a></li><!--
                
<?php endforeach; ?>
            <?php 
endif; ?>
        
--></ul>
    </
div>
</
div>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top