title: Magento remove zoom from product image
body: <p>Im not really familiar with Magento and i need to remove zoom effect from product image.
  This is the code from /catalog/product/view/media.phtml inside template directory.</p>
  
  <p>I tried to play around with if-else statement, but it seems im missing something because i am getting errors.</p>
  
  <p>Is anybody more familiar with this to take a look?
  Thanks a bunch!</p>
  
  <pre><code>    &lt;div class="product-image"&gt;
  &lt;?php if ($scrollStatus): ?&gt;
      &lt;div id="jp-container" class="jp-container" style="height:500px;"&gt;
          &lt;a href="javascript:void(0);"&gt;&lt;?php
              $_img = '&lt;img src="'.$helpImg-&gt;getImg($_product, 'image', $imgSize, null).'" alt="'.$this-&gt;escapeHtml($this-&gt;getImageLabel()).'" title="'.$this-&gt;escapeHtml($this-&gt;getImageLabel()).'" /&gt;';
                  echo $_img;
          ?&gt;&lt;/a&gt;
          &lt;?php foreach ($this-&gt;getGalleryImages() as $_image): ?&gt;
              &lt;a href="javascript:void(0);" title="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;"&gt;&lt;img src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($this-&gt;getProduct(), 'thumbnail', $_image-&gt;getFile()); ?&gt;" alt="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;" /&gt;&lt;/a&gt;
          &lt;?php endforeach; ?&gt;
      &lt;/div&gt;
      &lt;script type="text/javascript"&gt;
      jQuery(window).load(function(){
          function jspaneStart(){
              setTimeout(function(){
                  maxHeight = 0;
                  jQuery('#jp-container a').each(function(){
                      if(jQuery(this).height() &gt; maxHeight){
                          maxHeight = jQuery(this).height();
                      }
                  });
                  maxHeight = maxHeight+(maxHeight/100)*&lt;?php echo $scrollimagesHeight; ?&gt;;
                  jQuery('#jp-container').css('height', maxHeight);
                  jQuery('#jp-container').jScrollPane();
              }, 500);
          }
          jspaneStart();
          jQuery(window).resize(function(){
              jspaneStart();
          });
      });
      &lt;/script&gt;
  &lt;?php else: ?&gt;
      &lt;a id='zoom' class="cloud-zoom" data-zoom="showTitle: false, adjustX: -5, adjustY:-5, tint: '#fff', tintOpacity:0.6, position:'inside'" href="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'image'); ?&gt;"&gt;&lt;?php
              $_img = '&lt;img id="image" src="'.$helpImg-&gt;getImg($_product, 'image', $imgSize, null).'" alt="'.$this-&gt;escapeHtml($this-&gt;getImageLabel()).'" title="'.$this-&gt;escapeHtml($this-&gt;getImageLabel()).'" /&gt;';
                  echo $_helper-&gt;productAttribute($_product, $_img, 'image');
          ?&gt;&lt;/a&gt;
          &lt;?php /* Label New */ echo MAGE::helper('ThemeOptionsMinimalism')-&gt;getProductLabels($_product); ?&gt;
  
      &lt;?php if (count($this-&gt;getGalleryImages()) &gt; 0): ?&gt;
      &lt;div class="more-views-container"&gt;
          &lt;div class="more-views&lt;?php if ($productpage_moreviews == 'moreviews_slider' &amp;&amp; count($this-&gt;getGalleryImages()) &gt; 3){echo ' slider-on';} ?&gt;"&gt;
              &lt;h2&gt;&lt;?php echo $this-&gt;__('More Views') ?&gt;&lt;/h2&gt;
              &lt;?php if ($productpage_moreviews == 'moreviews_slider' &amp;&amp; count($this-&gt;getGalleryImages()) &gt; 3): ?&gt;
              &lt;div id="more-views-slider" class="es-carousel-wrapper"&gt;
                  &lt;ul class="carousel-ul"&gt;
                  &lt;?php foreach ($this-&gt;getGalleryImages() as $_image): ?&gt;
                      &lt;li&gt;
                          &lt;a class='cloud-zoom-gallery' data-zoom="useZoom: 'zoom', smallImage: '&lt;?php echo $helpImg-&gt;getImg($_product, 'thumbnail', $imgSize, null, $_image-&gt;getFile()); ?&gt;' " href="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($this-&gt;getProduct(), 'thumbnail', $_image-&gt;getFile()); ?&gt;" title="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;"&gt;&lt;img &lt;?php echo $helpImg-&gt;getImgSources($_product, 'thumbnail', 200, null, $_image-&gt;getFile()); ?&gt; alt="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;" /&gt;&lt;/a&gt;
                      &lt;/li&gt;
                  &lt;?php endforeach; ?&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
              &lt;div class = 'next'&gt;&lt;i class="fa fa-angle-right"&gt;&lt;/i&gt;&lt;/div&gt;
              &lt;div class = 'prev unselectable'&gt;&lt;i class="fa fa-angle-left"&gt;&lt;/i&gt;&lt;/div&gt;
              &lt;?php else: ?&gt;
              &lt;ul class="no-slider"&gt;
                  &lt;?php foreach ($this-&gt;getGalleryImages() as $_image): ?&gt;
                      &lt;li&gt;
                          &lt;a class='cloud-zoom-gallery' data-zoom="useZoom: 'zoom', smallImage: '&lt;?php echo $helpImg-&gt;getImg($_product, 'thumbnail', $imgSize, null, $_image-&gt;getFile()); ?&gt;' " href="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($this-&gt;getProduct(), 'thumbnail', $_image-&gt;getFile()); ?&gt;" title="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;"&gt;&lt;img &lt;?php echo $helpImg-&gt;getImgSources($_product, 'thumbnail', 200, null, $_image-&gt;getFile()); ?&gt; alt="&lt;?php echo $this-&gt;htmlEscape($_image-&gt;getLabel()) ?&gt;" /&gt;&lt;/a&gt;
                      &lt;/li&gt;
                  &lt;?php endforeach; ?&gt;
              &lt;/ul&gt;
              &lt;?php endif; ?&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;?php endif; ?&gt;
  &lt;?php endif; ?&gt;
  &lt;?php if ($this-&gt;displayProductStockStatus()): ?&gt;
      &lt;?php if ($_product-&gt;isAvailable()): ?&gt;
         &lt;p class="availability in-stock"&gt;&lt;i class="fa fa-check"&gt;&lt;/i&gt;&lt;?php echo $this-&gt;__('In stock') ?&gt;&lt;/p&gt;
      &lt;?php else: ?&gt;
         &lt;p class="availability out-of-stock"&gt;&lt;i class="fa fa-times"&gt;&lt;/i&gt;&lt;?php echo $this-&gt;__('Out of stock') ?&gt;&lt;/p&gt;
      &lt;?php endif; ?&gt;
  &lt;?php endif; ?&gt;
  &lt;/div&gt;
  </code></pre>