VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: vanaveno on November 26, 2014, 14:47:30 PM

Title: Magnification in category view (browse view)
Post by: vanaveno on November 26, 2014, 14:47:30 PM
Hello can anyone advise me how to make magnifying the image in category view? When I click on thumb resied pictures I see big picture.

if (!empty($product->images[0])) {
$image = $product->images[0]->displayMediaThumb ('class="featuredProductImage"', FALSE);
} else {
$image = '';
}

I need to do change in code add "<a tag" to big product image.

<a href="link to big image">
if (!empty($product->images[0])) {
$image = $product->images[0]->displayMediaThumb ('class="featuredProductImage"', FALSE);
} else {
$image = '';
}
</a>


Thanks