VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: antihexa on February 29, 2012, 13:15:38 PM

Title: the main image in productdetail is too large...help me
Post by: antihexa on February 29, 2012, 13:15:38 PM
Hi all,

I try to find in the default_image and css files but i can't see where to edit the size of main image.

// 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"'false'rel="shadowbox"'true); ?>
    </div>
<?php // Product Main Image END ?>


so, where can i edit the "medium-image" above???? thanks.

(http://img528.imageshack.us/img528/493/captureydx.png)
Title: Re: the main image in productdetail is too large...help me
Post by: jenkinhill on February 29, 2012, 15:46:55 PM
In the FAQs - http://forum.virtuemart.net/index.php?topic=98647.0
Title: Re: the main image in productdetail is too large...help me
Post by: antihexa on February 29, 2012, 17:20:37 PM
thank you very much, jenkinhill  :)