I had the same problem. I managed to work around it by setting the lightbox setting to Colorbox (and tick the box below to include the Colorbox library).
Ciao Idetomasi,
Seems that everything is okay. Swipebox works well.
The margin between the photos can be set in the settings panel. Have you found it?
I cannot see the error you have in the console. How did you solve it?
Thanks Ross2452, which is the lightbox that doesn’t work?
Thanks
I need to load the scripts in the footer. So I make same changes:
wp_register_style('justifiedGallery', plugins_url('css/justifiedGallery.min.css', __FILE__));
wp_register_style('flickrJustifiedGalleryWPPlugin', plugins_url('css/flickrJustifiedGalleryWPPlugin.css', __FILE__));
wp_register_script('justifiedGallery', plugins_url('js/jquery.justifiedGallery.min.js', __FILE__), '', '', true);
wp_register_script('flickrJustifiedGalleryWPPlugin', plugins_url('js/flickrJustifiedGalleryWPPlugin.js', __FILE__));
if (fjgwpp_getOption('provideColorbox')) {
wp_register_style('colorbox', plugins_url('lightboxes/colorbox/colorbox.css', __FILE__));
wp_register_script('colorbox', plugins_url('lightboxes/colorbox/jquery.colorbox-min.js', __FILE__), '', '', true);
}
if (fjgwpp_getOption('provideSwipebox')) {
wp_register_style('swipebox', plugins_url('lightboxes/swipebox/css/swipebox.min.css', __FILE__));
wp_register_script('swipebox', plugins_url('lightboxes/swipebox/js/jquery.swipebox.min.js', __FILE__), '', '', true);
}
Now I have the same error: Uncaught ReferenceError: jQueryFJGWPP is not defined
Ciao,
Thank you for the useful plugin.
We have the same error:
Uncaught ReferenceError: jQueryFJGWPP is not defined
We can´t managed to work around it by setting the lightbox setting to Colorbox like Ross2452.
We can read in flickrJustifiedGalleryWPPlugin.js:
/* We save the instance of jQuery in case there are other themes or plugins that import again it in a non-standard way */
var jQueryFJGWPP = jQuery;
So, we need to register first jQueryFJGWPP (instance of jQuery) to load the others .js?
We try with diferent metods but without results.
We are working in local , because of it we can´t link to our site by now .
any help?
Thanks