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/v1 for 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 ID
  • layoutgrid (default) or masonry
  • columns — Number of columns, 1–6 (default: 3)
  • lightboxtrue or false (default: true)

Contributing

Contributions are welcome! The plugin is developed openly on GitHub:

https://github.com/plugininja/pninja-media-gallery

Blocks

This plugin provides 1 block.

  • Pninja Media Gallery Embed a Pninja Media Gallery into your content

Installation

  1. Upload the pninja-media-gallery folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Pninja Media Gallery Add New to create your first gallery.
  4. Copy the shortcode shown in the gallery editor and paste it into any post or page.

FAQ

How do I embed a gallery in a post?

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.

Can I use the Media Library to add images?

Yes. On the gallery edit screen, click Add Images to open the standard
WordPress Media Library uploader.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Pninja Media Gallery” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Pninja Media Gallery” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release — Grid, Masonry, Lightbox, Album support