News:

Looking for documentation? Take a look on our wiki

Main Menu

Solved. Hiding file name of the image in product template

Started by trimixdive, March 05, 2013, 23:27:27 PM

Previous topic - Next topic

trimixdive

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]

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

trimixdive

Thanks, that helps and I solved a problem.
No more file name showed (removed from css).