nanostudio-org / nano_photos_provider2

PHP photos provider for nanogallery2
https://nanophotosprovider2.nanostudio.org/
48 stars 12 forks source link

jQuery.nanogallery2[("data_" + u.O.kind)] is not a function #59

Closed ExatechIT closed 1 year ago

ExatechIT commented 1 year ago

I am trying to utilize this plugin on a site, it works with just the nanoGallery code but when I try to incorporate this plugin I get the following error in the google chrome console.

jQuery.nanogallery2[("data_" + u.O.kind)] is not a function

The full error is pasted below.

Any help would be greatly appreciated.

`

Uncaught TypeError: jQuery.nanogallery2[("data_" + u.O.kind)] is not a function at jquery.nanogallery2.core.min.js:21:78765 at l.initiateGallery2 (jquery.nanogallery2.core.min.js:21:78777) at i.init (jquery.nanogallery2.core.min.js:28:16779) at new e.nanogallery2 (jquery.nanogallery2.core.min.js:28:16834) at HTMLDivElement.<anonymous> (jquery.nanogallery2.core.min.js:28:25684) at Function.each (01-jquery.min.js:2:2973) at m.fn.init.each (01-jquery.min.js:2:835) at jQuery.fn.nanogallery2 (jquery.nanogallery2.core.min.js:28:25667) at HTMLDocument.<anonymous> (about-test:599:32) at j (01-jquery.min.js:2:27244)
  | (anonymous) | @ | jquery.nanogallery2.core.min.js:21 -- | -- | -- | --   | initiateGallery2 | @ | jquery.nanogallery2.core.min.js:21   | i.init | @ | jquery.nanogallery2.core.min.js:28   | e.nanogallery2 | @ | jquery.nanogallery2.core.min.js:28   | (anonymous) | @ | jquery.nanogallery2.core.min.js:28   | each | @ | 01-jquery.min.js:2   | each | @ | 01-jquery.min.js:2   | jQuery.fn.nanogallery2 | @ | jquery.nanogallery2.core.min.js:28   | (anonymous) | @ | about-test:599   | j | @ | 01-jquery.min.js:2   | fireWith | @ | 01-jquery.min.js:2   | ready | @ | 01-jquery.min.js:2   | J | @ | 01-jquery.min.js:2

`