تفصیل
This is a WordPressified version of the excellent, lightweight (for real!) imageLightbox.js (MIT-licensed) by Osvaldas Valutis (http://osvaldas.info/image-lightbox-responsive-touch-friendly)
This is his introduction to the lightbox:
"As for the image lightboxes, I have always lacked simplicity for them. I mean not only the visual design, but the overall experience: from implementation to UX. All due respect, but I have never liked any of these light-fancy-face-boxes. They all were solving problems that just don’t exist: lots of unwanted features by default, total mess in markup, no native behavior for touch screens. I was working on a project and needed an image lightbox that solves these problems. I needed a lightbox only for images, not video, text, and iframes at once. I made ImageLightbox.js.”
This version autodetects all links to image files and opens them in the lightbox.
For your "install, activate and go”-convenience, this plugin comes with a minimal CSS that easily can be deactivated and/or replaced.
The plugin can also be themed to your liking. An example theme is available here: https://github.com/bjornjohansen/imagelightbox-theme-smooth
Please let me know if you have any issues. Fastest way to get a response is by Twitter: https://twitter.com/bjornjohansen
انسٹالیشن
- Download and unzip plugin
- Upload the ‘imagelightbox’ folder to the ‘/wp-content/plugins/’ directory,
- Activate the plugin through the ‘Plugins’ menu in WordPress.
عمومی سوالات
- How do I use the plugin with my images?
-
Autodetection FTW!
- How do I change the options?
-
FILTERS FTW! imageLightbox_options
- How do I replace the CSS with my own?
-
FILTERS FTW! imageLightbox_include_css
- How to I create my own theme for the plugin?
-
Have a look at https://github.com/bjornjohansen/imagelightbox-theme-smooth
- How do I use the lightbox on image links that are inserted with AJAX?
-
Call imageLightbox() on the elements: $(‘.newelements’).imageLightbox();
جائزے
شراکت دار اور ڈیویلپرز
“imageLightbox” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:
شراکت دار“imageLightbox” کا اپنی زبان میں ترجمہ کریں۔
ڈویلپمینٹ میں دلچسپی ہے؟
کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔
چینج لاگ
0.1.1
Theming now possible
0.1
Released