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

miedzikd picture miedzikd  路  6Comments

Jeonghyun-Kim picture Jeonghyun-Kim  路  3Comments

ghost picture ghost  路  8Comments

hokutonanto picture hokutonanto  路  7Comments

anantheswarg881 picture anantheswarg881  路  4Comments