🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Limit parameter for gallery shortcode icon
Possibly abandoned Tested up to 4.4.34

Limit parameter for gallery shortcode

By default, the gallery shortcode does not allow to limit the number of images displayed. This makes sense when you for example include all images attached to a post like this:

Active installs20+10+ tier
Downloads · 30d51▲ +82.1% vs prev. 30d
Rating5/51 reviews
Health score31/100At risk
All-time downloads2.5KSince Sep 2014
Support resolved—No recent threads
RequiresWP 4.0PHP any
Downloads · 7d16▼ -15.8% week over week
Our verdict

Consider an alternative

Limit parameter for gallery sho… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 10 years ago, and scores 31/100 on our health check.

  • Small user base (20+ active installs)
  • Very few reviews so far
  • No update in 9 years
  • Only tested up to WordPress 4.4 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

135Sep 4Oct 18Dec 2
Yesterday5
Daily average (1y)2
Peak day14May 5, 2026
Last 12 months709

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Limit parameter for gallery… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
gallery >100 4,930 Best gallery plugins →
images >100 10,000 Best images plugins →
limit >100 10,000 Best limit plugins →
shortcode >100 10,000 Best shortcode plugins →

Version adoption

Share of active sites per release.

  • 2.0100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Limit parameter for gallery shortcode

From the official readme · v2.0

Description

By default, the gallery shortcode does not allow to limit the number of images displayed. This makes sense when you for example include all images attached to a post like this:

[gallery id="4"]

When this plugin is activated, you may use:

[gallery id="4" limit="3"]

and it will only display three images.

You can also use an offset parameter:

[gallery id="4" limit="3" offset="1"]

Will display at most three images, starting at the second.

Note that this plugin is a little bit of a hack.

Installation

  1. Upload the gallery-limit.php file to the plugin directory.
  2. Activate the plugin.
  3. Done.

Changelog

2.0

Added offset parameter.

1.0

First release.

Full changelog on WordPress.org →

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.

Active installs badge Rating badge Health score badge

Best Limit parameter for gallery s… alternatives

All gallery plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Smart Slider 3 Smart Slider 3 Responsive slider plugin to create sliders in visual editor easily. Build beautiful image… by Nextendweb 800K+ ★★★★★★★★★★ 4.9 (1.1K) 6 days ago 98
2 Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider Slider, Gallery, and Carousel by MetaSlider Slider, gallery, carousel plugin for WordPress. Build your image slider, video slider, post… by MetaSlider 500K+ ★★★★★★★★★★ 4.6 (745) 2 weeks ago 94
3 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Photo Gallery, Sliders, Proofing and Themes The most popular gallery plugin that lets you create galleries and albums in seconds. by Syed Balkhi 300K+ ★★★★★★★★★★ 4.3 (4.3K) 2 days ago 93
4 Firelight Lightbox Firelight Lightbox Formerly Easy Fancybox. The most popular WordPress lightbox plugin. Simple, fast, and… by Firelight 200K+ ★★★★★★★★★★ 4.8 (367) 4 weeks ago 95
5 Photo Gallery by 10Web – Mobile-Friendly Image Gallery Photo Gallery by 10Web – Mobile-Friendly Image Gallery Photo Gallery is a powerful image gallery plugin with a list of advanced options for… by 10Web 100K+ ★★★★★★★★★★ 4.5 (1.6K) 4 weeks ago 66
6 Responsive Lightbox & Gallery Responsive Lightbox & Gallery The most popular lightbox plugin and responsive gallery builder for WordPress. by dFactory 100K+ ★★★★★★★★★★ 4.9 (2K) 6 days ago 84
7 Simple Lightbox Simple Lightbox The highly customizable lightbox for WordPress by Archetyped 100K+ ★★★★★★★★★★ 4.3 (240) 3 months ago 74
8 Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More Envira Gallery The fastest drag & drop photo gallery plugin. Create stunning image galleries, albums… by Syed Balkhi 100K+ ★★★★★★★★★★ 4.7 (1.6K) 2 days ago 91
9 Lightbox & Modal Popup WordPress Plugin – FooBox Lightbox & Modal Popup WordPress Plugin – FooBox A responsive image lightbox for WordPress galleries, WordPress attachments & FooGallery by FooPlugins 100K+ ★★★★★★★★★★ 4 (96) 4 weeks ago 76
10 AI-Powered Carousel, Slider, Video & Photo Gallery Blocks by WP Carousel AI-Powered Carousel, Slider, Video & Photo Gallery Blocks b… Image carousel, slider, and slideshow blocks with AI and ready patterns. Photo gallery… by ShapedPlugin LLC 60K+ ★★★★★★★★★★ 4.7 (436) 1 week ago 94

FAQ

Limit parameter for gallery shortco…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Limit parameter for gallery sho… free?

Yes. Limit parameter for gallery sho… is free to download and use from the official WordPress.org plugin directory.

Is Limit parameter for gallery sho… safe to use in 2026?

Limit parameter for gallery sho… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 10 years ago, and scores 31/100 on our health check.

How many websites use Limit parameter for gallery sho…?

Limit parameter for gallery sho… is active on 20+ WordPress websites and has been downloaded 2,509 times since it launched in September 2014. It was downloaded 51 times in the last 30 days.

Does Limit parameter for gallery sho… work with WordPress 7.1?

Limit parameter for gallery sho… is officially tested up to WordPress 4.4.34, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Limit parameter for gallery sho… last updated?

The latest version, 2.0, was released on December 8, 2016 (10 years ago).

Who makes Limit parameter for gallery sho…?

Limit parameter for gallery sho… is developed and maintained by nboehr.

What are the best alternatives to Limit parameter for gallery sho…?

The most popular alternatives to Limit parameter for gallery sho… 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

↑↓ to move↵ to open