Can some one explain how to chance this code so that the file name of the image was not seeing in product template?
Plese see attached picture.
CODE:
<?php // Product Main Image
if (!empty($this->product->images[0])) { ?>
<div class="main-image">
<?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"',true,'class="modal"',true,true); ?>
</div>
<?php } // Product Main Image END ?>
Joomla 2.5.9, Virtuemart 2.0.18a.
sSourcefile of code:
/templates/name_of_template/html/com_virtuemart/productdetails/default.php
Than you!
[attachment cleanup by admin]
Looks like you are using an override template for an old version of VirtueMart which need updating to current. Image display now uses its own template, default_images.php
Thanks, that helps and I solved a problem.
No more file name showed (removed from css).