VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Valdez360 on November 14, 2013, 11:57:33 AM

Title: Show the second product image as thumb. Not main image.
Post by: Valdez360 on November 14, 2013, 11:57:33 AM
Is there a way to do this? Obviously, I want VM2 to show the main image as per normal. I use a plugin though where it would be advantageous to show the second one of a multiple image set.
Title: Re: Show the second product image as thumb. Not main image.
Post by: jenkinhill on November 14, 2013, 12:43:06 PM
That is a default function in VM2.0.24

Also see http://forum.virtuemart.net/index.php?topic=120040
Title: Re: Show the second product image as thumb. Not main image.
Post by: Valdez360 on November 15, 2013, 17:58:32 PM
Many thanks. I am sorry jenkinhill. I reread my question and I beheld a load of old codswallop. What I really need is to, in some circumstances, load the second product image and skip the first.
Title: Re: Show the second product image as thumb. Not main image.
Post by: jenkinhill on November 15, 2013, 18:01:05 PM
ISTR that a solution for that was posted in the forum a few months ago....
Title: Re: Show the second product image as thumb. Not main image.
Post by: Maxim Pishnyak on November 22, 2013, 22:45:01 PM
Template override for default_images.php
$image = $this->product->images[1];