https://github.com/leandrolopes13/jgallery-wp
jGallery plugin for Wordpress
https://github.com/leandrolopes13/jgallery-wp
gallery images lightbox plugin videos wordpress
Last synced: 2 months ago
JSON representation
jGallery plugin for Wordpress
- Host: GitHub
- URL: https://github.com/leandrolopes13/jgallery-wp
- Owner: leandrolopes13
- Created: 2025-02-01T07:13:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-02T01:38:35.000Z (over 1 year ago)
- Last Synced: 2025-03-28T10:50:44.348Z (over 1 year ago)
- Topics: gallery, images, lightbox, plugin, videos, wordpress
- Language: PHP
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jGallery Wordpress plugin.
A lightweight and responsive JavaScript image and videos(youtube, vimeo and mp4) gallery library.
## Sponsor
Publicidade BH - Apps, Sistemas e sites - https://www.publicidadebh.com.br/
## jQuery plugin
https://github.com/leandrolopes13/jgallery
## Features
- 🖼️ Responsive image gallery
- 🚀 Lightweight and fast
- 🎨 Customizable styling
- 📱 Mobile-friendly
- 🔍 Image zoom support
- ⌨️ Keyboard navigation
- 🎯 Easy to integrate
## Installation
Copy the folder to your wordpress plugins folder and activate it.
## Usage
```php
do_shortcode('[jgallery images="http://localhost/jgallery-wp/wp/wp-content/uploads/2025/02/image2.jpg, http://localhost/jgallery-wp/wp/wp-content/uploads/2025/02/image1.jpg, https://vimeo.com/76979871;https://i.vimeocdn.com/video/452001751-8216e0571c251a09d7a8387550942d89f7f86f6398f8ed886e639b0dd50d3c90-d_260x163, https://www.youtube.com/watch?v=4FUnXaq_VWk;https://i3.ytimg.com/vi/4FUnXaq_VWk/hqdefault.jpg"]');
```
## Events
### Resize
is fired when the content dimensions are recalculated
```javascript
.on('jgallery.resize', function (e) {
console.log('jgallery.resize');
})
```
### Open
is fired when the open the lightbox
```javascript
.on('jgallery.open', function (e) {
console.log('jgallery.open');
})
```
### Change
is fired when the content is changed
```javascript
.on('jgallery.change', function (e) {
console.log('jgallery.change');
})
```
### Loaded
is fired when the content is fully loaded
```javascript
.on('jgallery.loaded', function (e) {
console.log('jgallery.loaded');
})
```
### Close
is fired when the lightbox is closed
```javascript
.on('jgallery.close', function (e) {
console.log('jgallery.close');
})
```
## Browser Support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Opera (latest)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Author
Leandro Lopes - leandrolopes.java@gmail.com - [GitHub Profile](https://github.com/leandrolopes13)
## Acknowledgments
- Thanks to all contributors who have helped make jGallery better
- Inspired by various gallery libraries in the JavaScript ecosystem