Lightbox is not working, Uncaught ReferenceError: img is not defined
-
Hi.
I’m just installed your plugin and configured it according to instruction, but it is not working.
On Basic plugin settings page – I select: ADD LIGHTBOX OPTIONS – Images with Lightbox – All Images and All WordPress Galleries.
After this on post page images are not clickable and in browser console I see an error from jquery:
Uncaught ReferenceError: img is not definedjquery.min.js?ver=3.6.0:2 Uncaught ReferenceError: img is not defined at HTMLImageElement.<anonymous> (ewd-ulb.js?ver=1.0.7:14:29) at Function.each (jquery.min.js?ver=3.6.0:2:3003) at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481) at HTMLDocument.<anonymous> (ewd-ulb.js?ver=1.0.7:11:17) at e (jquery.min.js?ver=3.6.0:2:30038) at t (jquery.min.js?ver=3.6.0:2:30340)
This error specifies to plugin script – ewd-ulb.js at lines 11 and 14
Line 11:jQuery("img").each(function() {
Line 14:else {var description = img.attr(description_src);}
jQuery working properly on my site. And I don’t know what cause this problem. So please help me to make your plugin and all lightbox functions working properly.
Thanks.
Wait for your quick reply.
Regards.
- The topic ‘Lightbox is not working, Uncaught ReferenceError: img is not defined’ is closed to new replies.