sachinchoolur/lightgallery.js được TopGit xếp vào nhóm dự án UI/UX, với 5.3k sao trên GitHub, viết chủ yếu bằng JavaScript. Full featured JavaScript image & video gallery. No dependencies
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Full featured JavaScript lightbox gallery. No dependencies.
Important notice
lightgallery.js has been merged with lightGallery. That means, v2 of lightgallery.js is https://www.lightgalleryjs.com/. if you have a lightgallery.js license, this is valid for lightGallery as well. But, since version 2.0 you need to pass the license key as a plugin option. If you alredy have a license, please contact me at [email protected] for the license key
Completely re-wrote from scratch in typescript
Moved all modules to the main repo for better maintainability.
Dropped IE 8 and 9 support. Let me know if you still need support for IE 8 and 9. I’ll consider adding a plugin to add support if there is enough demand.
Website
Docs
Demos
Any questions, ideas, suggestions about v2? please start a discussion.
Dynamically add, remove slides while the gallery is open
Comment interface
and much more.
How to upgrade
To make the upgrade seamless, v2 follows the API structure as much as possible. But, few settings are removed and a lot of additional settings are added, the way we use public methods is changed slightly and few events are renamed.
Initialization
V2 doesn’t require jQuery as a dependancy.
Events are renamed - Please take a look at the documentation
Few settings are added, removed, or renamed.
Rather than listing down all the changes here, I’d recommend going through the current settings that you are using and compare them with the new documentation.
Main features
Fully responsive.
Modular architecture with built in plugins.
Touch support for mobile devices.
Mouse drag supports for desktops.
Double-click/Double-tap to see actual size of the image.
Animated thumbnails.
Social media sharing.
YouTube, Vimeo, Dailymotion, VK and HTML5 video support.
20+ Hardware-Accelerated CSS3 transitions.
Dynamic mode.
Full screen support.
Supports zoom.
Browser history API.
Responsive images.
HTML iframe support.
Multiple instances on one page.
Easily customizable via CSS (SCSS) and Settings.
Smart image preloading and code optimization.
Keyboard Navigation for desktop.
Font icon support.
Rotate, flip images.
Accessibility support.
And many more.
Browser support
lightgallery supports all major browsers including IE 9 and above.
Installation
Install with NPM
You can install lightgallery.js using the npm package manager.
npm install lightgallery.js
You can also find lightgallery.js on Yarn and Bower.
Yarn
yarn add lightgallery.js
Bower
bower install lightgallery.js --save
CDN
http://www.jsdelivr.com/projects/lightgallery.js
Download from GitHub
You can also directly download lightgallery from GitHub.
Include CSS and JavaScript files
First of all add lightgallery.css in the <head> of the document.
lightgallery does not force you to use any kind of markup. You can use whatever markup you want.
But i suggest you to use the following markup.
Here
you can find the detailed examples of different kinds of markup.
If you like lightgallery please support the project by staring the repository or tweet about this project.
Resources
API Reference
Events
Methods
Data Attributes
Dynamic variables
Sass variables
Module API
Demos
Thumbnails
Gallery with animated thumbnails
Gallery without animated thumbnails
YouTube, Vimeo Video Gallery
YouTube, Vimeo Video Gallery
Video Gallery Without Poster
Video Player Parameters
Automatically load thumbnails
HTML5 Video Gallery
HTML5 Video Gallery
HTML5 video gallery with videojs
Transitions
Dynamic
Events
Methods
Iframe. External websites, Google map etc.
Captions
Responsive images
Responsive images
Responsive images with HTML5 srcset
Gallery with fixed size
HTML Markup
Facebook comments
Easing
History/hash plugin
Social media share
Built in modules
Thumbnail - GItHub - Docs
Autoplay - GItHub - Docs
Video - GItHub - Docs
Fullscreen - GItHub - Docs
Pager - GItHub - Docs
Zoom - GItHub - Docs
Hash - GItHub - Docs
Share - GItHub - Docs
Rotate - GItHub - Docs
License
Commercial license
If you want to use lightgallery.js to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary. Read more about the commercial license
Open source license
If you are creating an open source application under a license compatible with the GNU GPL license v3, you may use this project under the terms of the GPLv3.
sachinchoolur/lightgallery.js thuộc nhóm UI / UX trên TopGit, cùng 11 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về sachinchoolur/lightgallery.js ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/sachinchoolur/lightgallery.js là nguồn chính thức.
sachinchoolur/lightgallery.js có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho sachinchoolur/lightgallery.js. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
sachinchoolur/lightgallery.js có trang demo không?
Dự án có trang chủ ở https://sachinchoolur.github.io/lightgallery.js/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
sachinchoolur/lightgallery.js là gì?
sachinchoolur/lightgallery.js (sachinchoolur/lightgallery.js) là dự án JavaScript trên GitHub. Theo mô tả gốc: Full featured JavaScript image & video gallery. No dependencies
Vì sao sachinchoolur/lightgallery.js được xếp vào nhóm UI / UX?
TopGit xếp sachinchoolur/lightgallery.js vào nhóm UI / UX dựa trên GitHub topics và mô tả của repo (gắn thẻ: "animation", "css-animations", "gallery"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về lightgallery.js?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về lightgallery.js.