<div class="pdp-media">
<a class="product-image" href="<?php echo $item->getProductUrl(); ?>">
<img src="<?php echo $this->helper('catalog/image')->init($item, 'thumbnail')->resize(500); ?>" alt="<?php echo $this->escapeHtml($item->getName()); ?>">
</a>
</div>
Currently I am getting only one image of that product in my modal, but I want all of that product's images in modal as slider.