VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: miguelb on August 27, 2013, 10:44:30 AM

Title: Thumbnail turns Main Image
Post by: miguelb on August 27, 2013, 10:44:30 AM
Hi,

I need your help for the following question:

I have a product with several colours. Each colour is a thumbnail. Is there anyaway that I "click" in the thumbnail and I get it larger as "Main Image"?

I'm working with Joomla. 2.5.14 and VirtueMart 2.0.22b

Many thanks for your help

[attachment cleanup by admin]
Title: Re: Thumbnail turns Main Image
Post by: jenkinhill on August 27, 2013, 12:13:39 PM
What you ask is already the default function on the product details page. If you use template overrides for product details then compare the code with the default  default_images.php file in the productdetails/tmpl directory.

If that is OK or you don't use overrides then see what changing the setting of Use Fancybox  does - in configuration/templates/Activate Css Styles & Javascripts

If that does not work you may have a JavaScript conflict that stops facebox/fancybox from working, usually caused by something in the Joomla template.