Open 4m2c4bl3 opened 2 years ago
I copied the jquery.nanogallery2.min.js file and replaced all instances of nGY2TnImg with nGY2TnImg2, and that seems to work. The thumbnails are still not generating, but I can open the galleries and see the images without anything crashing.
Describe the issue
I'm creating albums using nano photos provider 2. I get the initial display of the gallery (though the thumbnails seem to not be generating. this is another error). When I click on a gallery it simply loads forever. I get the error jquery.nanogallery2.min.js:28 Uncaught TypeError: Cannot read properties of undefined (reading 'addClass') at l.e.PreloaderDisplay (jquery.nanogallery2.min.js:28:1233)
Looking at the debug log, the jquery.nanogallery2.min.js file crashes at this line ".nGY2TnImg" is undefined, instead there is a value ".nGY2TnImg2" in the object.
I'm using php 7.2, with exif and gd installed.
and this is the html I have in my page: header:
body:
and finally, here is the response from the .php file
I'm running it from a local python server so I have no place to demo it online. I hope the information I provided is enough!