VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: alibak on August 18, 2012, 18:06:43 PM

Title: Problem with images and layout and shopping cart on vm 9.0b // HELP if you could
Post by: alibak on August 18, 2012, 18:06:43 PM
Hello,

I upgraded to vm 9.0b 30 min. ago.  Now in product details, all images are huge and shopping cart and other info. fall on the images.

what should I do please?  if you could help in this, I'd appreciate it.  Please refer to the link below as an example:  but most if not all are like that.====>

http://www.szulga.com/component/virtuemart/portraits/portrait-of-armaun-detail?Itemid=0
Title: Re: Problem with images and layout and shopping cart on vm 9.0b // HELP if you could
Post by: bytelord on August 18, 2012, 18:22:38 PM
Hello,

This is a template issue and not VM.

Inside your virtuemart template (productsdetails\default_images.php) you can simple change the code to display the thumbnail instead of full image.

Around line 25 change the line for display the mediathumb instead of fullimage:

<?php echo $this->product->images[0]->displayMediaThumb('class="product-image"',true,"class='modal'"); ?>


Hope it helps

Regards,

Bytelord