News:

Support the VirtueMart project and become a member

Main Menu

additional image's link

Started by angel_rah007, October 22, 2013, 14:47:39 PM

Previous topic - Next topic

angel_rah007

Dear sir/madam
I have bought a template for my website and have installed virtumart component to sale my product.
but there is a problem with my images.
I have added two images for a product in media section,but the second image just shows in thumbnail form in frontend and it doesn't magnify when I click on it.
would you please help me solve this problem ?
thank you in advance

http://venetiangallery.com/index.php/modern/venetian-gallery-modern-bedroom/dream-660-w-storage-detail

jenkinhill

Which versions? See http://forum.virtuemart.net/index.php?topic=79799.0

You have a JavaScript conflict related to your template scripts interferring. The error reported in Firebug for Firefox and in IE10's debugger both show fancybox is not working (the lightbox script).
SCRIPT438: Object doesn't support property or method 'fancybox'
dream-660-w-storage-detail, line 108 character 2

You could try deselecting "Use Fancybox " in VM Configuration/Templates so that facebox is used instead but this still may not work. If it does not then you should start resolving the script issues. you are loading 3 different jQuery versions:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>   <<<< this one is from VirtueMart
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

Only one should be loaded to avoid conflict. It is possible that if you just load the first version then VM will still work OK.  For info on jQuery see http://forum.virtuemart.net/index.php?topic=119638.0

There are other scripts loading from the template, modules or plugins that may also conflict with face/fancybox. eg:
<script type="text/javascript" src="/magiczoom/magiczoom.js"></script>
<script src="/templates/theme958/js/jquery.prettyPhoto.js" type="text/javascript"></script>
<script src="/plugins/system/rokbox/rokbox.js" type="text/javascript"></script>
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

angel_rah007

Quote from: jenkinhill on October 22, 2013, 17:48:55 PM

You have a JavaScript conflict related to your template scripts interferring. The error reported in Firebug for Firefox and in IE10's debugger both show fancybox is not working (the lightbox script).
SCRIPT438: Object doesn't support property or method 'fancybox'
dream-660-w-storage-detail, line 108 character 2


thank you very much  :) jenkinhill
Its very helpful