News:

Looking for documentation? Take a look on our wiki

Main Menu

add own image under product image in productdetail.php

Started by nickon2, April 20, 2013, 22:36:27 PM

Previous topic - Next topic

nickon2

Hi,

Using Vm2 and j2.5.9 I am trying to add a "zoom in image" under the product image in the productdetail.php template file
Looking around I found that I have to edit the default_images.php file around code:

<?php
        echo $image->displayMediaFull("",true,"rel='vm-additional-images'");
        ?>

So what I basicly need to do is to add image  ../images/magnify.gif underneeth the product image

I tried  echo $image->displayMediaFull("",true,"rel='vm-additional-images'") . ("<br/>"."<img src=\"http://path-to.com/common/images/magnify.gif\" border=\"0\"/>");

which add the image I need but zoom in works only when I click the product image but not the magify image.
Could anyone please help ?

Kind Regards