🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
NextGEN Gallery Optimizer icon
Possibly abandoned Tested up to 4.7.40 #1 in nextcellent

NextGEN Gallery Optimizer

NextGEN Gallery Optimizer improves your site’s page load speed, by preventing NextGEN’s scripts and stylesheets from loading on posts and pages without NextGEN Gallery content.

Active installs1K+1K+ tier
Downloads · 30d412▲ +55.5% vs prev. 30d
Rating3.1/529 reviews
Health score35/100At risk
All-time downloads253.9KSince Feb 2012
Support resolved—No recent threads
RequiresWP 3.7PHP any
Downloads · 7d111▲ +15.6% week over week
Our verdict

Consider an alternative

NextGEN Gallery Optimizer shows warning signs in 2026 — compare the alternatives below before installing. It runs on 1K+ sites, is rated 3.1/5 and was last updated 9 years ago, and scores 35/100 on our health check.

  • Mixed reviews — 3.1/5 from 29 ratings
  • No update in 9 years
  • Only tested up to WordPress 4.7 (latest is 7.1)

How does it stack up?

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

Daily downloads

51015Sep 1Oct 15Nov 29
Yesterday6
Daily average (1y)5
Peak day21Nov 26, 2026
Last 12 months1.8K

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

Rankings

Where NextGEN Gallery Optimizer stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
nextcellent #5 10 Best nextcellent plugins →
nextcellent-gallery #5 10 Best nextcellent-gallery plugins →
nextgen >100 184 Best nextgen plugins →
NextGEN Gallery #95 170 Best NextGEN Gallery plugins →
nextgen legacy #20 24 Best nextgen legacy plugins →

Version adoption

Share of active sites per release.

  • 2.192.6%
  • 1.17.4%

Rating breakdown

★★★★★★★★★★ 3.1 from 29 reviews

  • 5★51.7%
  • 4★0.00%
  • 3★0.00%
  • 2★6.9%
  • 1★41.4%

About NextGEN Gallery Optimizer

From the official readme · v2.1.5

Description

NextGEN Gallery Optimizer

NextGEN Gallery Optimizer improves your site’s page load speed, by preventing NextGEN’s scripts and stylesheets from loading on posts and pages without NextGEN Gallery content.

Additionally…

If you’re using NextGEN v2 (v2.0.0 to v2.1.60), Optimizer also provides you with complete granular control of the scripts and stylesheets that load on posts and pages with NextGEN Gallery content. For a live example of these settings in action, please view the source of Optimizer’s homepage (a NextGEN v2 gallery page with AJAX pagination) in your browser.

If you’re using NextGEN Legacy (v1.6.2 to v1.9.13) or NextCellent Gallery (v1.9.14 to v1.9.31), Optimizer will intelligently fine-tune all your posts and pages with NextGEN Gallery content automatically… detecting every shortcode and setting, to only load the scripts and stylesheets required on each page.

For a full overview of the optimization process, please see…
http://www.nextgengalleryoptimizer.com/optimization-flowcharts/.

Optimizer also includes an enhanced version of the fantastic Fancybox lightbox script, and only loads it on appropriate posts and pages with NextGEN Gallery content. The result? Gorgeous galleries and a speedy site.

Optimizer v2.1.5 currently supports (and is tested compatible with) NextGEN Gallery (v2.0.0 to v2.1.60), NextGEN Legacy (v1.6.2 to v1.9.13) and NextCellent Gallery (v1.9.14 to v1.9.31).

NextGEN Gallery Optimizer Pro

Upgrade to Optimizer Pro for the new NextGEN Gallery Deactivator feature.
A whole new level of speed optimization.
Only load NextGEN’s PHP code on posts and pages with NextGEN Gallery content.

Upgrade to Optimizer Pro for the new Dynamic Fancybox Settings Interface.
The fastest and easiest way to customize Fancybox.
Set title styles, background color and opacity, make Fancybox responsive and more.

For more information, please see the following…
http://www.nextgengalleryoptimizer.com/
http://www.nextgengalleryoptimizer.com/documentation/
http://www.nextgengalleryoptimizer.com/nextgen-gallery-optimizer-pro/
http://www.nextgengalleryoptimizer.com/purchase/

Key features:

  1. Improves your site’s page load speed when using NextGEN Gallery.
  2. Prevents NextGEN’s scripts & styles from loading on non-NextGEN posts/pages.
  3. Additionally fine-tunes NextGEN’s scripts and styles on NextGEN posts/pages.
  4. 1-click install of the Enhanced Fancybox Lightbox to display your images in style.

NEW in Version 2.1.5:

  1. Tested: Fully compatible with NextGEN Gallery up to v2.1.60.
  2. Tested: Fully compatible with NextCellent Gallery up to v1.9.31 (unchanged).
  3. Tested: Fully compatible with WordPress up to v4.7.
  4. Updated: Incremented all version numbers in the in-plugin documentation to reflect our new “tested up to” compatibilities.
  5. Added: NextGEN Pro’s new checkout, checkout return and proofed images pages are now allowed in Deactivator by default (Pro).
  6. Fixed: Compatibility with WP-CLI in Deactivator (Pro).

NEW in Version 2.1.4:

  1. Tested: Fully compatible with NextGEN Gallery up to v2.1.46.
  2. Tested: Fully compatible with NextCellent Gallery up to v1.9.31 (unchanged).
  3. Tested: Fully compatible with WordPress up to v4.5.3.
  4. Tested: PHP 7 ready.
  5. Added: WP v4.5 compatibility for our plugin description JavaScript on the “plugins.php” page.
  6. Updated: Incremented all version numbers to document our new “tested up to” compatibilities.
  7. Updated: The download URL to NextGEN’s repository page is now in the new WordPress.org format.
  8. Fixed: Character encoding issues in readme.txt. Now saved strictly as UTF-8.
  9. Fixed: Single-quote encoding issues in the header comment documentation.

NEW in Version 2.1.3:

  1. Tested fully compatible with NextGEN Gallery up to v2.1.23.
  2. Tested fully compatible with NextCellent Gallery up to v1.9.31.
  3. Tested fully compatible with WordPress up to v4.4.2.
  4. Updated all in-plugin documentation to reflect our new “tested up to” compatibility.
  5. Added styling updates to Optimizer’s settings page, for header tag changes in WordPress v4.4.
  6. Added full compatibility with NextCellent Gallery v1.9.30+ for our lightbox effects page integration, after its major admin rewrite in v1.9.30.
  7. Added detection of NextCellent Gallery’s new admin management PHP pages in NextGEN Gallery Deactivator (Pro), after the full admin rewrite in NextCellent v1.9.30.

NEW in Version 2.1.2:

  1. Tested fully compatible with NextGEN Gallery up to v2.1.15.
  2. Tested fully compatible with NextCellent Gallery up to v1.9.26 (unchanged).
  3. Tested fully compatible with WordPress up to v4.3.
  4. Updated all in-plugin documentation to reflect our new “tested up to” compatibility.
  5. Added detection of base_url query string parameter pages in NextGEN Gallery Deactivator (Pro).
  6. Added detection of NextGEN’s “Manage Gallery” meta links in NextGEN Gallery Deactivator (Pro).

NEW in Version 2.1.1:

  1. Tested fully compatible with NextGEN Gallery up to v2.1.0.
  2. Tested fully compatible with NextCellent Gallery up to v1.9.26.
  3. Tested fully compatible with WordPress up to v4.2.2.
  4. Updated all in-plugin documentation to reflect our new “tested up to” compatibility.
  5. Added 256×256, 128×128 and svg plugin icons for the new WordPress plugin installer screen.

NEW in Version 2.1 (at a glance):

  1. Now fully compatible with the major update of NextGEN Gallery v2.0.71 (up to v2.0.77).

  2. Now fully compatible with the major update of NextCellent Gallery v1.9.25 (up to v1.9.25.3).

  3. Now fully compatible down to WordPress v3.7.

  4. Tested fully compatible with WordPress v4.1 and v4.1.1.

  5. Now fully compatible with the NextGEN Plus (v1.1.3) and NextGEN Pro (v2.1.4) premium add-ons.

  6. Improved plugin descriptions and documentation throughout.

Please see Optimizer v2.1’s development blog post for the full list of improvements and additions.

NEW in Version 2.0 (at a glance):

  1. Now optimizes the new NextGEN v2.0.xx codebase, and the new NextGEN Legacy fork called NextCellent Gallery.

  2. Completely rewritten utilizing class encapsulation, and with a strong focus on WordPress coding standards and best practices.

  3. Virtually all of Optimizer’s former Premium functionality for NextGEN Legacy is now included in the Basic version here at the WordPress repository.

  4. Completely rounds out support for all features and options available in NextGEN Legacy (and the NextCellent Gallery fork).

  5. Optimizer Pro is introduced, including the all new NextGEN Gallery Deactivator feature, and the Dynamic Fancybox Settings Interface.

  6. Optimizer’s website is introduced.

Please see Optimizer v2.0’s development blog post for the full list of improvements and additions.

NEW in Version 1.1.2:

  1. Tested compatible with WordPress 3.5 (Basic and Premium)
  2. Latest Google-hosted jQuery 1.8.3 to match new WP version (Basic and Premium)
  3. New admin notifications to assist with NextGEN installation (Basic and Premium)
  4. Improvements to Optimizer’s automatic Fancybox installation (Basic and Premium)

This release brings us up to date with WordPress 3.5, and features a number of additions and refinements to improve user experience. These include new admin notifications to assist users who don’t have the required NextGEN Gallery plugin installed and activated, new step-by-step installation instructions via the WordPress admin (to ensure the correct file ownership and permissions are set), a streamlined settings page, and improvements to Optimizer’s automatic Fancybox installation.

NEW in Version 1.1.1:

  1. Dynamic messaging for admins on unsupported shortcodes (Basic)
  2. Checks to ensure jQuery isn’t being deregistered (Basic and Premium)
  3. Includes blank index.php files for enhanced security (Basic and Premium)

This release aims to improve communication between Optimizer and end-users, including dynamic messaging for admins on unsupported shortcodes, and a clever regex that detects and alerts you if your theme (or child-theme) is deregistering jQuery…which causes Fancybox to break. Additionally, security is enhanced with the addition of blank index.php files in each folder, preventing bots from scanning your server’s directory tree.

NEW in Version 1.1 (first major release):

  1. Fancybox title now included in image height calculations (Basic and Premium)
  2. New options: WordPress’s included jQuery or go Google-hosted (Basic and Premium)
  3. Support for the Thickbox effect (Basic and Premium)
  4. Support for the Shutter effect (Basic and Premium)
  5. Support for JW Image Rotator slideshow integration (Premium)
  6. Support for AJAX pagination on [imagebrowser id=x] (reqs. Shutter) (Premium)
  7. Fancybox gets extra fancy…auto-resizes when the browser is resized (Premium)

This first major release for Optimizer sees a number of new additions and features…
Fancybox now includes space for a single-line title in its image height calculations, vastly improving vertical alignment of the lightbox. Also, Optimizer now lets you choose between using WordPress’s included jQuery (for greater compatibility), or the Google-hosted version (for faster page loads). Support for the Thickbox and Shutter effects has also been added thanks to user requests.

On top of this, the Premium version now includes AJAX pagination when using Shutter on the [imagebrowser id=x] shortcode, supports the JW Image Rotator for slideshows and features a super-fancy, auto-resize function that resizes Fancybox when the browser window is resized!

NEW in Version 1.0.8:

  1. Tested fully-compatible with WordPress 3.4 (Basic and Premium)
  2. Improved compatibility with other plugins and themes (Basic and Premium)
  3. Display fix for Fancybox when no title is available (Basic and Premium)
  4. Latest jQuery 1.7.2 (Basic and Premium)

This version adds the jQuery.noConflict(); method for improved compatibility with plugins and themes using other javascript libraries/frameworks including script.aculo.us, Prototype and MooTools. It also includes a fix for Fancybox/NextGEN Gallery integration where a small white line would appear underneath the lightbox when no title was set.

NEW in Version 1.0.7:

  1. Improved compatibility with other scripts and plugins. (Basic and Premium)
  2. Minor bug fix in admin message. (Basic and Premium)

This version enhances compatibility with other plugins and includes a few minor improvements.

NEW in Version 1.0.6:

  1. Fully-automated Fancybox installation! (Basic and Premium)

This version features completely automated Fancybox integration with NextGEN Gallery, so now you can be up and running even faster.

NEW in Version 1.0.5:

  1. Precision matching with WordPress’s built-in shortcode finder.
  2. NextGEN Gallery Optimizer Premium (an optional upgrade for a small donation).

This version uses WordPress’s native get_shortcode_regex() function for EXACT shortcode matching, ensuring scripts and styles don’t load unexpectedly unless the FULL shortcode is present. If WordPress doesn’t detect a shortcode, neither do we!

Also, this update introduces the new NextGEN Gallery Optimizer Premium version, which adds support for ALL TEN of NextGen’s shortcodes, support for the [show as slideshow] link, the removal of NextGEN’s version number comment and more.

NEW in Version 1.0.4:

  1. Easier set up

This version automatically redirects first time users to the options page on activation and sets a default stylesheet for easier set up.

NEW in Version 1.0.3:

  1. Optimized code for better compatibility and page load speed
  2. Improved settings page

This update results in faster page loads on gallery pages by avoiding duplicate scripts. It reduces the chance of conflicts with other plugins and makes setting up Fancybox even easier.

NEW in Version 1.0.2:

  1. Support for WordPress Pages
  2. Fancybox overlap fix
  3. Fix for Fancybox not working in IE6 & IE8
  4. Latest JQuery

This update lets you display galleries on both Posts AND Pages in style, but only load code when they’re present.

It also fixes an issue where some page elements overlap Fancybox and prevent the close button from functioning (in particular the title text, header image and menu bar in Twenty Eleven).

It fixes the “Fancybox not working in IE6 & IE8” issue by automatically updating the Fancybox stylesheet to use the correct file paths, and we’re now running Fancybox on JQuery version 1.7.1, resulting in faster page loads where galleries are present.

Installation

Install NextGEN Gallery Optimizer:

  1. Download NextGEN Gallery Optimizer to your computer
  2. Log into your WordPress admin
  3. Click Plugins –> Add New
  4. Click Upload (in the header)
  5. Search your computer for nextgen-gallery-optimizer.zip
  6. Click Install Now
  7. Click Activate Plugin
  8. Click Settings –> NextGEN Optimizer to complete installation.
  • Note: If your computer automatically unzips your download, you’ll need to re-compress it first.
  • On Mac OSX: Ctrl+click the plugin folder –> Compress.
  • On Windows: Right-click the plugin folder –> Send To –> Compressed (zipped) Folder.

How do I set up a gallery?

Firstly, you’ll need a copy of NextGEN Gallery…
https://wordpress.org/extend/plugins/nextgen-gallery/

Once you’ve activated NextGEN Gallery on your plugins page, look for a “Gallery” tab at the bottom of your left sidebar in your WordPress admin.

  1. Go to Gallery –> Add Gallery/Images
    Click the “Add New Gallery” tab, enter a name for your gallery and click the “Add gallery” button.

  2. Click the “Upload Images” tab, click the “Select Files” button and choose which images you want to upload from your computer, select the gallery you just created from the “in to” dropdown menu, and click the “Upload images” button to begin the transfer.

  3. Finally, to insert your gallery, just create a new post or page (Posts –> Add New or Pages –> Add New), type the shortcode [nggallery id=1] into the editor, and click the “Publish” button on the right to save your changes. Note: The “1” in the shortcode should be the id number of the gallery you wish to display.

  4. That’s it! Navigate to the page you just created and your gallery should be live!

If you’d like to optimize this for speed, and add the Fancybox lightbox effect when you click on your gallery thumbnails, simply activate NextGEN Gallery Optimizer from your plugins page. With Optimizer enabled, your site will feel lighter and faster as it ensures the required scripts and styles only load on pages with galleries.

Changelog

v2.1.5 – 2016-12-12

Optimizer Basic and Pro:

  • Tested: Fully compatible with NextGEN Gallery up to v2.1.60.
  • Tested: Fully compatible with NextCellent Gallery up to v1.9.31 (unchanged).
  • Tested: Fully compatible with WordPress up to v4.7.
  • Updated: Incremented all version numbers in the in-plugin documentation to reflect our new “tested up to” compatibilities.

Optimizer Pro:

  • Added: NextGEN Pro’s new URLs for its checkout, checkout return and proofed images pages are now flagged as “Allowed Pages” in Deactivator by default.
  • Fixed: “Undefined index: HTTP_HOST” notices in WP-CLI when calling “wp plugin (activate|deactivate) nextgen-gallery-optimizer-pro”.

v2.1.4 – 2016-7-13

Optimizer Basic and Pro:

  • Tested: Fully compatible with NextGEN Gallery up to v2.1.46.
  • Tested: Fully compatible with NextCellent Gallery up to v1.9.31 (unchanged).
  • Tested: Fully compatible with WordPress up to v4.5.3.
  • Tested: PHP 7 ready.
  • Added: WP v4.5 compatibility for our plugin description JavaScript on the “plugins.php” page.
  • Updated: Incremented all version numbers (as appropriate) to document our new “tested up to” compatibilities.
  • Updated: The download URL to NextGEN’s repository page is now in the new WordPress.org format (i.e. omit “/extend/”, and include SSL).
  • Fixed: Character encoding issues in readme.txt. Now saved strictly as UTF-8 (dropped the BOM).
  • Fixed: Single-quote encoding issues in the header comment documentation.

v2.1.3 – 2016-2-13

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 NextGEN Gallery Optimizer alternatives

All nextcellent plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
2 NextCellent Simple History NextCellent Simple History Add Simple History integration for NextCellent. by niknetniko 70+ ★★★★★★★★★★ No reviews 11 years ago 25
3 NextCellent Media Library Addon NextCellent Media Library Addon This plugin adds a feature to NextCellent Gallery to add an image from the WP Media Library. by niknetniko 40+ ★★★★★★★★★★ 5 (2) 11 years ago 31

FAQ

NextGEN Gallery Optimizer: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is NextGEN Gallery Optimizer free?

Yes. NextGEN Gallery Optimizer is free to download and use from the official WordPress.org plugin directory.

Is NextGEN Gallery Optimizer safe to use in 2026?

NextGEN Gallery Optimizer shows warning signs in 2026 — compare the alternatives below before installing. It runs on 1K+ sites, is rated 3.1/5 and was last updated 9 years ago, and scores 35/100 on our health check.

How many websites use NextGEN Gallery Optimizer?

NextGEN Gallery Optimizer is active on 1K+ WordPress websites and has been downloaded 253,884 times since it launched in February 2012. It was downloaded 412 times in the last 30 days.

Does NextGEN Gallery Optimizer work with WordPress 7.1?

NextGEN Gallery Optimizer is officially tested up to WordPress 4.7.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was NextGEN Gallery Optimizer last updated?

The latest version, 2.1.5, was released on November 28, 2017 (9 years ago).

Who makes NextGEN Gallery Optimizer?

NextGEN Gallery Optimizer is developed and maintained by Mark Jeldi.

What are the best alternatives to NextGEN Gallery Optimizer?

The most popular alternatives to NextGEN Gallery Optimizer are NextCellent Simple History (70+ installs) and NextCellent Media Library A… (40+ 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