描述
Simple and super lightweight Lightbox for WordPress with gallery navigation support.
Features
- Zero render-blocking tags are added on the page
- Only 0.5 kB is loaded if no linked images found
- Gallery support
- Caching, minifying & combining friendly
- jQuery independent (in case it’s async)
- Responsive
- Keyboard navigation
- Swipe navigation
Demo
firmcatalyst.com/lightest-lightbox
Usage
Starts working just by the plugin activation. Opens linked images in a popup Lightbox by click. Adds arrow navigation, if an image is a part of a gallery or other links sequence.
Development
You can modify the code for your needs, or suggest improvemens on GitHub. It is pretty transparent and well-commented.
屏幕截图
安装
- Install the plugin
- Activate the plugin
常见问题
Waiting for your questions, which you can ask here or via GitHub.
评价
2024 年 3 月 1 日
Here is a positive review to boost your motivation, dear developer ;)It’s the simplest lightbox for images that I use on all my clients’ websites, which are something about 10. Its standout feature is its unobtrusiveness: it doesn’t affect loading speed, doesn’t conflict with caching plugins – it’s as simple as a bolt – robust and effective.However, I would like it to have zoom functionality and the ability to customize its design in some future.
2022 年 9 月 8 日
For me lightweight means (no jquery) and this plugin checks all the boxes for my requirement.
I never wanted a bloated lightbox plugin which adds tons of options and customization features adding un-necessary CSS and JS. Here I just get the lightbox feature with minimal CSS adding no extra bloat to the website.
Best part is NO JQEURY and I hope it remains this way.
Thanks again!
贡献者及开发者
更新日志
1.4
- Swipe navigation added
- Inlined the inline js
- Improved the siblings search
1.3
- Removed the render blocking css to be loaded by js
- Moved the main js and css away to load only if a linked image is found
1.2
- Optimized to fit WP 5.7
1.1
- Optimized: Gallery & image sequences tracking added
1.0
- Initial release