
lightGallery Customization Options using v1 of the script
An easy way to integrate either v1 or v2 of lightGallery JavaScript to WordPress. lightGallery is a lightweight, modular, JavaScript library for creating beautiful image & video galleries for the web and the mobile
Features
In Settings > Simple lightGallery you can find several options to control in which parts of your site the lightGallery will be loaded.
Some of lightGallery core features (taken from lightGallery officially site)
- Fully responsive.
- Modular architecture with built in plugins.
- Highly optimized for touch devices.
- Mouse drag supports for desktops.
- Double-click/Double-tap to see actual size of the image.
- Animated thumbnails.
- Social sharing.
- And many more.
Usage
- Select in which post_types and taxonomies you want the lightGallery to be loaded.
- Make sure you are using the correct markup and the appropriate initialization for your galleries.
- If you want to use lightGallery with WP native
[gallery]
shortcode make sure to use it with the optionlink="file"
.
- For more usage tips, go to lightGallery officially site
Active installations70+
Weekly downloads
31-3.13%
Version1.7.2
Last updated4/18/2025
WordPress version5.3
Tested up to6.8.1
PHP version7.4
Tags
galleryjquerylightgalleryphotographyresponsive