News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Multiplied Images of enlarged products!!!

Started by dimarini, December 16, 2011, 14:49:54 PM

Previous topic - Next topic

dimarini

Help!!!
Can somebody explain the multiplied enlarged pictures of product images shown in fig1, 2 and 3?


[attachment cleanup by admin]

PRO

are you using a template override? if so, disable it, and see if the default file does that

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Studio 42

Hi,
If someone give me a real link, i can search for the bug and solution

charles99

#4
This is the error that comes with this type of problem and from what I can tell it has something to do with jQuery:

Waring Message:
event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.




I Google the above comment after upgrading my shop to RC3 and having my images show up twice  in the SBwindow



Result from search:

I just noticed that I get tons of deprecated warnings in the latest (canary) build of Chrome.

event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

Looks like jQuery is screwing thing up.

I'm using: jquery-1.6.1.min.js.

Would it help to upgrade to the latest jQuery version or isn't it fixed yet or is it a Chrome bug or is it something else.

PS

I cannot show you code because I think it's a general error, but I suspect the warnings get thrown when I try to access a jQuery object or when jQuery tries to access the layerX / layerY (well I'm pretty sure that's the case considering the error :P).

jQuery probably copies those properties into the jQuery object.

So...

What's going on?

EDIT

jQuery 1.7 is out and fixes this issue.






What's going on!?

"jQuery probably copies those properties into the jQuery object." You're exactly correct, so it sounds like you already know! :)

Hopefully jQuery will update their code to stop touching that, but at the same time WebKit should have known better than to log a deprecation warning on an event (at least in my opinion). One mousemove handler and your console explodes. :)

Here's a recent jQuery ticket: http://bugs.jquery.com/ticket/10531

UPDATE: This is fixed now if you upgrade to jQuery 1.7.




This temporary fix is to run this code before you do any event binding via jQuery:

(function(){
    // remove layerX and layerY
    var all = $.event.props,
        len = all.length,
        res = [];
    while (len--) {
      var el = all[len];
      if (el != 'layerX' && el != 'layerY') res.push(el);
    }
    $.event.props = res;
}());




Can also be cause by chrome extensions so check them if Jquery update doesn't work....



[attachment cleanup by admin]

PRO

This happened to me when I used modalizer script, and assigned the same class to the trigger "modal"


Limonbay

I had exactly the same error but it was solved by itself. I don't know how, but it did. I was trying different things on the Global Config section, maybe that?  :P
Piercings y complementos
http://www.limonbay.com
Joomla 2.5.14
Virtuemart 2.0.24

dimarini

Switch off jQuery where you find it!!!
I think that this is the problem!

Merry Christmas and H :) Happy New Year  ;)

Limonbay

I had the same problem when I put the chache "on" in the global configuration. When I put it back to "off" everything was ok again.

Hope it helps.
Piercings y complementos
http://www.limonbay.com
Joomla 2.5.14
Virtuemart 2.0.24

jenkinhill

Limonbay this is for VirtueMart2 - cache in Joomla 1.7 does not cause this issue.
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