title: Magento Configurable Product Gallery Switch
body: <p>can somebody help me.
  i have configurable products from simple and have 2 questions:</p>
  
  <pre><code>$galleryData = $_product-&gt;getData('media_gallery');
  </code></pre>
  
  <p>this way get all images from gallery for main product, how i can get all images for other options?</p>
  
  <p>with this way i can get only image, small_image and thumbnail:</p>
  
  <pre><code>$mainprouct =  Mage::getModel('catalog/product')-&gt;loadByAttribute('sku', $_product-&gt;getSku())-&gt;getTypeInstance()-&gt;getUsedProducts();
  </code></pre>
  
  <p>how i can get all images for each option and reload media gallery on the fly?</p>