VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: toocool on October 06, 2014, 09:38:12 AM

Title: [solved]Virtuemart can't change product image.
Post by: toocool on October 06, 2014, 09:38:12 AM
Hello!

I use Vm 2.6.10 and Joomla 2.5.27. When I go to a product, which has 2-3 pictures, I can watch ONLY the main picture, if I click the smaller ones, the main picture don't change.

Solution?
Title: Re: Virtuemart can't change product image.
Post by: jenkinhill on October 06, 2014, 10:03:44 AM
Probably a JavaScript problem, but not possible to tell without a URL. To debug JS see http://forum.virtuemart.net/index.php?topic=119638.0
Title: Re: Virtuemart can't change product image.
Post by: toocool on October 06, 2014, 14:14:55 PM
You can see: https://www.bambuszkerteszet.hu/phyllostachys-vivax.html (https://www.bambuszkerteszet.hu/phyllostachys-vivax.html)

I tried to disable AntiCopy but didn't solved the problem.
Title: Re: Virtuemart can't change product image.
Post by: jenkinhill on October 06, 2014, 15:16:43 PM
Looks like a crapisteer template problem. Test using Beez to see if it works OK. You may need to use jQueryEasy as there is more than one jQuery version being loaded.
Title: Re: Virtuemart can't change product image.
Post by: toocool on October 07, 2014, 08:08:14 AM
I tested with Beez, but was the same. Ehhh I don't know what happened. Maybe VM bug?

In the template folder there is a jquery.js file, and I installed jQuery Easy plugin, but it doesn't work (the pictures).
Title: Re: Virtuemart can't change product image.
Post by: toocool on October 07, 2014, 18:34:23 PM
Anybody? Please!
Title: Re: Virtuemart can't change product image.
Post by: Milbo on October 07, 2014, 22:12:31 PM
You may try the other option in the vm config. It is almost 100% related to your template.
Title: Re: Virtuemart can't change product image.
Post by: jenkinhill on October 07, 2014, 23:19:56 PM
The image code you have is different from that which we see in default VM.
For an additional image this is the default code:

<div class="additional-images">
<div class="floatleft">
<a title="derbyhat" rel='vm-additional-images' href="http://virtuemart-help.co.uk/fullvm/images/stories/virtuemart/product/derbyhat.jpg">
<img src="/fullvm/images/stories/virtuemart/product/resized/derbyhat_90x90.jpg" alt="derbyhat"  /></a> </div>


And this is what you have:

<div class="additional-images">
<div class="floatleft">
<img ondragstart="return false;" src="/images/stories/virtuemart/product/resized/sam_2898_200x200.jpg" alt="sam_2898" class="product-image" style="cursor: pointer" />
<a ondragstart="return false;" href="/images/stories/virtuemart/product/sam_2898.jpg"  class="product-image image-0" style="display:none;" title="" rel="vm-additional-images"></a> </div>
Title: Re: Virtuemart can't change product image.
Post by: toocool on October 08, 2014, 07:48:17 AM
Then, the template s×cks. I said to the template maker, that artisteer is s×it.

Is there any solutions to fix it?
Title: Re: Virtuemart can't change product image.
Post by: toocool on October 08, 2014, 08:40:49 AM
Ahhhh! I activated Fancybox and now everything is working fine, but animations are c×ap.