News:

Support the VirtueMart project and become a member

Main Menu

[solved]Virtuemart can't change product image.

Started by toocool, October 06, 2014, 09:38:12 AM

Previous topic - Next topic

toocool

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?

jenkinhill

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
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

toocool


jenkinhill

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.
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

toocool

#4
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).


Milbo

You may try the other option in the vm config. It is almost 100% related to your template.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jenkinhill

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>
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

toocool

Then, the template s×cks. I said to the template maker, that artisteer is s×it.

Is there any solutions to fix it?

toocool

Ahhhh! I activated Fancybox and now everything is working fine, but animations are c×ap.