Hi!
How do i remove the title of the image that appears under the image on lightbox mode:
(http://s30.postimg.org/ooh23rp0x/Captura_de_Tela_2014_03_13_s_16_06_04.png)
Please open:
/components/com_virtuemart/views/productdetails/tmpl/default_images.php
and remove line 27 where you see:
"titlePosition" : "inside",
Hello! Thx for the help!
But now it looks like this:
(http://s27.postimg.org/w2ff3jnj7/Captura_de_Tela_2014_03_13_s_17_37_57.png)
Also, i`m using a template override provided by my template, here is the code with the change you requested:
defined('_JEXEC') or die('Restricted access');
vmJsApi::js( 'fancybox/jquery.fancybox-1.3.4.pack');
vmJsApi::css('jquery.fancybox-1.3.4');
$document = JFactory::getDocument ();
$imageJS = '
jQuery(document).ready(function() {
jQuery("a[rel=vm-additional-images]").fancybox({
"transitionIn" : "elastic",
"transitionOut" : "elastic"
});
});
';
$document->addScriptDeclaration ($imageJS);
if (!empty($this->product->images)) {
$image = $this->product->images[0];
?>
<div class="main-image">
<?php
echo $image->displayMediaThumb("",true,"rel='vm-additional-images'");
?>
<div class="clear"></div>
</div>
<?php
$count_images = count ($this->product->images);
if ($count_images > 1) {
?>
<div class="additional-images">
<?php
for ($i = 1; $i < $count_images; $i++) {
$image = $this->product->images[$i];
?>
<div class="floatleft">
<?php
echo $image->displayMediaThumb("",true,"rel='vm-additional-images'");
?>
</div>
<?php
}
?>
<div class="clear"></div>
</div>
<?php
}
}
// Showing The Additional Images END ?>
No idea without further testing...