Lightgallery: Uncaught TypeError: Cannot read property 'modules' of undefined

Created on 20 Jul 2016  路  4Comments  路  Source: sachinchoolur/lightGallery

Error at line number 449
$.fn.lightGallery.modules.Thumbnail = Thumbnail;

in lg-thumbnail

All 4 comments

Hey @KomalDivate what was the issue?

@CrashyBang,
Make sure that you have included lightgallery.js before lg-thumbnails.js

image
I have done that but it's still throwing the error. Please Help. The lightgallery is working but the pulgins do not show up.
image
@sachinchoolur

Okay, I managed to solve the problem when i used everything from inside lightgallery.js/demo/js/ folder, instead of downloading the plugins manually.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Allmedialab picture Allmedialab  路  6Comments

FDiskas picture FDiskas  路  5Comments

HamzaAbdullahMoh picture HamzaAbdullahMoh  路  4Comments

MatteoZorro picture MatteoZorro  路  7Comments

shamw4r picture shamw4r  路  5Comments