Spartan Gallery
Responsive photo galleries with 16 layouts, a lightbox with video, tag filters, albums and a live preview. No jQuery on the front end.
Solid choice
Spartan Gallery is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 3 weeks ago, and scores 64/100 on our health check.
- Actively developed β last update 3 weeks ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Spartan Gallery stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| gallery | >100 |
| lightbox | >100 |
| masonry | >100 |
| photo gallery | >100 |
| portfolio | >100 |
About Spartan Gallery
From the official readme Β· v1.8.1Description
Spartan Gallery is a responsive, multipurpose portfolio gallery plugin for WordPress. It works well for agencies, personal portfolios, architecture and photography studios, product showcases, artist portfolios, and blogs.
Sixteen layouts are included:
- Grid β even columns (1β6), images cropped to the shape you choose.
- Masonry β uncropped images packed into columns, Pinterest-style.
- Justified β rows of equal height that always fill the full width.
- Mosaic β a grid mixing large and small tiles.
- Metro β magazine-style big, wide and tall tiles.
- Polaroid β tilted instant-photo cards that straighten on hover.
- Hexagon β a honeycomb grid.
- Film strip β one row that scrolls sideways.
- Spotlight β one large image beside a grid of thumbnails.
- 3D Slider β a touch-friendly 3D coverflow carousel.
- Carousel β several images side by side, swipeable, optional autoplay.
- Slideshow β one large image with a thumbnail strip, optional autoplay.
- Cards β a stack of cards to swipe through.
- 3D Cube β images on the faces of a rotating cube.
- Fullscreen Hero β big fading slides with a slow “Ken Burns” zoom and caption text.
- Before / After β drag a handle to compare pairs of images.
Every layout (except Before / After) can open images in a full-screen lightbox with swipe, keyboard navigation, captions from the Media Library, a thumbnail strip, and optional download, slideshow and share buttons. Choose a hover effect (zoom, fade, darken, or title overlay), rounded corners and image quality per gallery.
Videos: add a YouTube, Vimeo or MP4 link to any image (“Gallery video URL” in the Media Library) and it plays in the lightbox, with the image as its poster.
Share & deep links: every image gets its own link that reopens the lightbox at that image, plus optional Facebook, X, Pinterest and copy-link buttons.
Protection & watermark: optionally disable right-click/dragging and show a text watermark over the images.
Smart galleries: instead of picking images by hand, show every image with a Gallery Tag β new images with that tag appear automatically.
Filterable galleries: give images “Gallery Tags” in the Media Library and turn on filter buttons, so visitors can show only Weddings, Portraits, etc.
Load more: big galleries can show the first images and load the rest with a “Load more” button or automatically while scrolling.
Albums: show several galleries as cover cards with [spartan_album] or the “Spartan Album” block; clicking a cover opens that gallery in the lightbox.
Block editor: the Spartan Gallery and Spartan Album blocks show a live preview of the real gallery, and the gallery block can switch layout per placement.
Bulk image details: edit titles, captions, alt text, tags and video links for all images of a gallery in one table. Galleries can be duplicated from the gallery list.
Translations: includes an Estonian translation; ready for translation into any language.
Galleries are responsive (columns reduce automatically on tablets and phones), use WordPress’ responsive image sizes, and only load their scripts and styles on pages that actually contain a gallery. The front end does not require jQuery.
Each gallery has its own options panel with one-click presets (Portfolio, Instagram, Products, Photography, Slideshow), a live preview with desktop/tablet/phone widths, drag-and-drop image ordering, and a copy-the-shortcode button. A Gutenberg block adds galleries anywhere in the block editor.
Example site
Shortcode
[spartan_gallery id="123"]
Replace 123 with the gallery ID shown in the Spartan Gallery list. (page_id is still accepted as an alias.)
[spartan_gallery id="123" layout="masonry"] shows the same gallery with a different layout on this page. Layout names: grid, masonry, justified, mosaic, metro, polaroid, hexagon, filmstrip, spotlight, slider, carousel, slideshow, cards, cube, hero, compare.
Albums
[spartan_album] lists every published gallery as a cover card.
[spartan_album ids="12,15,18" columns="3" titles="no"] shows only the chosen galleries, in that order.
Third-party libraries
Bundled in public/vendor/, all MIT licensed:
- Swiper 14.4.0 β 3D slider, carousel and slideshow. Source: https://github.com/nolimits4web/swiper
- GLightbox 3.3.1 β lightbox. Source: https://github.com/biati-digital/glightbox
- Plyr 3.7.8 β video player inside the lightbox (loaded only when a video is opened; its icons are served locally, nothing is loaded from the Plyr CDN). Source: https://github.com/sampotts/plyr
The Masonry layout uses the Masonry and imagesLoaded scripts that ship with WordPress core.
Installation
If installing the plugin from wordpress.org:
- Upload or install the entire /spartan-gallery directory to the /wp-content/plugins/ directory, or install directly through the ‘Plugins’ screen in WordPress.
- Activate Spartan Gallery through the ‘Plugins’ menu in WordPress.
- Go to Spartan Gallery > Add New to create a gallery.
- Upload images, choose a layout, and select image settings.
- Copy the shortcode (or use the Gutenberg block) wherever you’d like the gallery to appear.
Changelog
Six new layouts, block editor previews, videos, sharing, smart (tag-based) galleries and an Estonian translation. Existing galleries are unchanged.
1.8.1
- The plugin’s website link now points to freelancermartin.com.
1.8.0
- Six new layouts: Metro, Film strip, Spotlight, Cards, 3D Cube and Fullscreen Hero (16 in total).
- Block editor: live preview of galleries and albums, and a per-block layout override. The shortcode accepts layout=”⦔ too.
- Videos: a “Gallery video URL” field on images (YouTube, Vimeo, MP4) plays in the lightbox. Plyr is bundled; nothing is loaded from third-party CDNs.
- Share button (Facebook, X, Pinterest, copy link) and deep links that reopen the lightbox at a given image.
- Smart galleries: show every image with a chosen Gallery Tag (newest, oldest, by title or random).
- Edit titles, captions, alt text, tags and video links for all gallery images in one table.
- “Duplicate” action in the gallery list.
- Optional right-click/drag protection and text watermark.
- Estonian translation; all admin and block editor text is translatable. Post type labels are now translatable (and “Spartan Gallerys” is fixed).
- Galleries no longer have their own (empty) public pages, archive or sitemap entries; they are shown through the shortcode and blocks only.
- The gallery list shows each gallery’s shortcode, layout and image count.
- Fixed: the plugin removed the “Categories” column from the regular Posts list.
- Removed leftover code: unused image sizes, an unused metabox, the old shortcode box (with a remotely loaded PayPal button) and empty admin scripts loaded on every admin page.
1.7.2
- Fixed: with both the lightbox thumbnail strip and a title/caption turned on, the caption was hidden behind the strip and the image was not centered.
- The live preview in the gallery editor now appears immediately when the page opens (no extra request).
- New plugin directory banner, icon and screenshots.
1.7.1
- New “Show image title” lightbox setting, off by default. WordPress uses the file name as an image’s title, so file names no longer appear under images in the lightbox unless you turn this on. Captions have their own setting.
1.7.0
- Filterable galleries: new “Gallery Tags” for images (Media > Gallery Tags) and optional filter buttons above Grid, Masonry, Justified, Mosaic and Polaroid galleries.
- “Load more” button or infinite scroll for large galleries, with a configurable batch size. Works together with the filters.
- Albums: [spartan_album] shortcode and “Spartan Album” block show galleries as cover cards that open in the lightbox.
- The lightbox only includes images that match the active filter.
1.6.0
- New layouts: Mosaic, Polaroid, Carousel, Slideshow (with thumbnails) and Before / After.
- Live preview in the gallery editor, with desktop, tablet and phone widths.
- One-click presets: Portfolio, Instagram, Products, Photography, Slideshow.
- Drag and drop to reorder images.
- Copy-shortcode button on the gallery edit screen.
- Hover effects: zoom, fade, darken, or darken with the image title.
- Lightbox: optional thumbnail strip, download button and slideshow button.
- Autoplay for the 3D Slider, Carousel and Slideshow.
- Simpler settings: one “Image quality” choice replaces the old original/thumbnail switches and size list; container settings no longer need an on/off switch and default to full width; one border field instead of four.
- Existing galleries keep their look; old settings are converted automatically.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best Spartan Gallery alternatives
All gallery plugins βFAQ
Spartan Gallery: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Spartan Gallery free?
Yes. Spartan Gallery is free to download and use from the official WordPress.org plugin directory.
Is Spartan Gallery safe to use in 2026?
Spartan Gallery is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 3 weeks ago, and scores 64/100 on our health check.
How many websites use Spartan Gallery?
Spartan Gallery is active on <10 WordPress websites and has been downloaded 11,918 times since it launched in April 2018. It was downloaded 298 times in the last 30 days.
Does Spartan Gallery work with WordPress 7.1?
Yes. The developer has tested Spartan Gallery up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Spartan Gallery need?
Spartan Gallery requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Spartan Gallery last updated?
The latest version, 1.8.1, was released on November 17, 2026 (3 weeks ago).
Who makes Spartan Gallery?
Spartan Gallery is developed and maintained by freelancermartin.
What are the best alternatives to Spartan Gallery?
The most popular alternatives to Spartan Gallery are Smart Slider 3 (800K+ installs), Slider, Gallery, and Carous⦠(500K+ installs) and Photo Gallery, Sliders, Pro⦠(300K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
