News:

Support the VirtueMart project and become a member

Main Menu

Show the second product image as thumb. Not main image.

Started by Valdez360, November 14, 2013, 11:57:33 AM

Previous topic - Next topic

Valdez360

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.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Valdez360

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.

jenkinhill

ISTR that a solution for that was posted in the forum a few months ago....
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Maxim Pishnyak

Template override for default_images.php
$image = $this->product->images[1];
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart