miromannino / Justified-Gallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
http://miromannino.github.io/Justified-Gallery/
MIT License
1.68k stars 299 forks source link

test remote_imgs_waitThumbsLoad_callbacks.html throws 'this.resetImgSrc is not a function' #333

Open mfg92 opened 4 years ago

mfg92 commented 4 years ago

Background: I am currently trying to reproduce an issue that I have with version 3.8.1 (3.7.0 is fine) in a simpler setup than the one I am actually using JG in. My problem is that the 'jg.complete' event is never thrown and so my lazy loading code is never called.

So while trying to reproduce my problem in a simpler setup I tried the provided tests and I noticed that running the unmodified _remote_imgs_waitThumbsLoadcallbacks.html (in Firefox) throws this error here: TypeError: this.resetImgSrc is not a function query.justifiedGallery.js:222:17

marcanw commented 3 years ago

Same issue on my side with chrome. jquery.justifiedGallery.min.js:formatted:133 Uncaught TypeError: this.resetImgSrc is not a function

fatihyvg commented 3 years ago

I am getting the same error. What is the solution? jquery.justifiedGallery.min.js:formatted:133 Uncaught TypeError: this.resetImgSrc is not a function

Elikar-KM commented 2 years ago

Same issue