in vm1 i add this code to get img url
<img src="<?php echo $product_full_image ?>">
and this:
<img src="/components/com_virtuemart/shop_image/product/<?php echo $product_thumb_image ?>">
how can i do it in vm2 ?
open: /components/com_virtuemart/views/productdetails/tmpl/default.php
<?php // List all Images
foreach ($this->product->images as $image) {
echo $image->displayMediaThumb('class="product-image"',true,'class="modal"',true,true); //'class="modal"'
} ?>
or
<?php echo $this->product->images[0]->displayMediaFull('class="product-image"',false,"class='modal'",true); ?>
;)
thank you !!!