title: Magento: Display all images on the product page (view.phtml)
body: <p>I can see how media.phtml (with Cloud Zoom extension) is listing all the images on the product page by help of $this->getGalleryImages():</p>
  
  <pre><code>&lt;?php foreach ($this-&gt;getGalleryImages() as $_image): ?&gt;
  &lt;?php ... ?&gt;
  &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>But when I use $this->getGalleryImages() in view.phtml which is the catalog product page template, it doesn't return or output anything. However, this would only print the first image on the product page:</p>
  
  <pre><code>&lt;img src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($_product, 'image')-&gt;constrainOnly(TRUE)-&gt;keepAspectRatio(TRUE)-&gt;keepFrame(FALSE)-&gt;setWatermarkImageOpacity(0)-&gt;resize(300, null);?&gt;" alt="&lt;?php echo $this-&gt;htmlEscape($this-&gt;getImageLabel());?&gt;" title="&lt;?php echo $this-&gt;htmlEscape($this-&gt;getImageLabel());?&gt;" /&gt;
  </code></pre>
  
  <p>My question is how can I iterate through and display all the product images on the product page (view.phtml, not media.phtml)? Basically, I want them all on display on the page without thumbnailing or zooming or anything, just plain big images, one after another.</p>
  
  <p>Thanks!</p>