Pninja Media Gallery
Pninja Media Gallery
Description
Pninja Media Gallery gives you total control over your image galleries. Create stunning responsive
galleries in seconds and embed them anywhere with a simple shortcode.
Key Features
- Grid Layout — clean, uniform image grid with configurable columns (1–6)
- Masonry Layout — Pinterest-style flowing layout that fills empty space naturally
- Lightbox — click any image to view it full-screen with keyboard navigation
- Albums / Gallery Groups — organise images into named galleries
- React SPA Admin — fast, modern admin UI with instant feedback
- REST API — full CRUD API at
pninja-media-gallery/v1for headless use - Developer-friendly — action/filter hooks throughout, PSR-4 autoloading, RTK Query
Shortcode
`
[pninja_gallery id=”1″]
[pninja_gallery id=”1″ layout=”masonry” columns=”4″ lightbox=”true”]
`
Shortcode Parameters
id— (required) Gallery IDlayout—grid(default) ormasonrycolumns— Number of columns, 1–6 (default: 3)lightbox—trueorfalse(default:true)
Contributing
Contributions are welcome! The plugin is developed openly on GitHub:
https://github.com/plugininja/pninja-media-gallery
Installation
- Upload the
pninja-media-galleryfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Go to Pninja Media Gallery Add New to create your first gallery.
- Copy the shortcode shown in the gallery editor and paste it into any post or page.
Faq
Create a gallery in Pninja Media Gallery Add New, note the gallery ID, then add
[pninja_gallery id=”YOUR_ID”] to any post, page, or widget.
Yes. On the gallery edit screen, click Add Images to open the standard
WordPress Media Library uploader.
Reviews
Changelog
1.0.0
- Initial release — Grid, Masonry, Lightbox, Album support