*

mwindey

  • *****
  • 468 posts
Photos on item page are not loading properly in jQuery V3
« on: January 12, 2022, 02:08:07 PM »
I regularly experience that photos with jQuery v3 are not loaded properly no matter what theme I use. Fresh install or not remains the same. Anyone else experiencing the problem or am I the only one?
Most of the time they load as in first attachment and on refresh they become normal like attachment 2....

*

MB Themes

Re: Photos on item page are not loading properly in jQuery V3
« Reply #1 on: January 12, 2022, 03:07:49 PM »
@mwindey
Sometimes they load and sometimes no?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 468 posts
Re: Photos on item page are not loading properly in jQuery V3
« Reply #2 on: January 12, 2022, 03:25:25 PM »
@MB Themes

Correct... If you open a listing then 50% off time you get the images full sized... Refresh page corrects them and shows them normal sized.
It is frustrating that in most off the times you have to refresh the page to have a normal view.
It is on all items and all types of browsers.... Same on mobile and tablet view.

*

MB Themes

Re: Photos on item page are not loading properly in jQuery V3
« Reply #3 on: January 12, 2022, 03:33:54 PM »
@mwindey
Can you send URL?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 468 posts
Re: Photos on item page are not loading properly in jQuery V3
« Reply #4 on: January 12, 2022, 03:41:38 PM »
Page: in PM
« Last Edit: January 12, 2022, 03:44:15 PM by mwindey »

*

MB Themes

Re: Photos on item page are not loading properly in jQuery V3
« Reply #5 on: January 12, 2022, 04:29:03 PM »
There is many errors in your console (from minify, from ads scripts, ...) and sometimes takes too long to load scripts (>2000ms).
This seems to be also important related to fortumo that sometimes fail to load some scripts:
Uncaught ReferenceError: LazyLoad is not defined
    at HTMLDocument.<anonymous> (fmp_loader.js:8:3)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 468 posts
Re: Photos on item page are not loading properly in jQuery V3
« Reply #6 on: January 12, 2022, 05:01:58 PM »
I"ve seen the errors on google ads and fortumo but also a fresh install without fortumo and google ads does the same.
Going back to jQuery V1 and everything is normal except security  :(
Most errors in lighthouse are showing me this:
jquery.min.js:2 jQuery.Deferred exception: $(...).masonry is not a function TypeError: $(...).masonry is not a function
    at HTMLDocument.<anonymous> (https://mydomain.be/oc-content/themes/veronika/js/global.js?v=900:769:36)
    at e (https://mydomain.be/oc-includes/osclass/assets/js/jquery3/jquery.min.js:2:30038)
    at t (https://mydomain.be/oc-includes/osclass/assets/js/jquery3/jquery.min.js:2:30340) undefined
S.Deferred.exceptionHook @ jquery.min.js:2
t @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
B @ jquery.min.js:2
jquery.min.js:2 jQuery.Deferred exception: $(...).validate is not a function TypeError: $(...).validate is not a function

*

MB Themes

Re: Photos on item page are not loading properly in jQuery V3
« Reply #7 on: January 12, 2022, 07:54:10 PM »
Try to disable force image aspect
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 468 posts
Re: Photos on item page are not loading properly in jQuery V3
« Reply #8 on: January 14, 2022, 11:33:02 AM »
@MB Themes,

Biggest problem was/is fortumo. Even though i cut the code out of my pages, having it activated in admin was enough to create the problem with jQuery V3.
I've noticed they use jQuery V1.7.1 and that there solution would be to use jQuery.noConflict().
Since i have never heard of it i'm not sure if this is doable to use it.....

*

MB Themes

Re: Photos on item page are not loading properly in jQuery V3
« Reply #9 on: January 14, 2022, 11:56:42 AM »
You cannot modify their script, but you can try whatever to get it fixed.
ALso keep in mind fortumo script does not need to be loaded immediately, you could also defer it by 1-2 seconds ... so once site is rendered and loaded, fortumo will load at the end.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mwindey

  • *****
  • 468 posts
Re: Photos on item page are not loading properly in jQuery V3
« Reply #10 on: January 14, 2022, 06:25:35 PM »
Thanks for the tip on deferring the script, i didn't think of it myself  :-[
For now it is looking good with jQuery V3 so let's wait for a couple off days to see if i am still happy  :D :D :P

*

MB Themes

Re: Photos on item page are not loading properly in jQuery V3
« Reply #11 on: January 14, 2022, 08:17:10 PM »
 :P
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots