News:

Support the VirtueMart project and become a member

Main Menu

Magnification in category view (browse view)

Started by vanaveno, November 26, 2014, 14:47:30 PM

Previous topic - Next topic

vanaveno

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