NextGEN Gallery / Imagely: How to Open a Gallery Edit Page Directly via URL
The Problem
Since NextGEN Gallery / Imagely 4.0, the gallery list screen has been rebuilt as a React SPA (Single Page Application). This means that every time you finish editing a gallery and return to the list, any sorting or search filters you had applied — by ID, title, slug, etc. — are completely reset. For users managing a large number of galleries, having to re-sort the list every single time makes sequential editing extremely tedious.
The Solution
You can open the legacy gallery edit screen directly by inserting the gallery’s gid (Gallery ID) into the following URL:
https://your-site.com/wp-admin/admin.php?page=nggallery-manage-gallery&mode=edit&gid=YOUR_GALLERY_ID
Example (for gid = 284):
https://your-site.com/wp-admin/admin.php?page=nggallery-manage-gallery&mode=edit&gid=284
Open this link with Ctrl+click (or Cmd+click on Mac), or right-click → Open in new tab, to edit the gallery in a new tab without losing your sort order in the list screen.
How to Find Your Gallery ID
- The ID number displayed in the Imagely Galleries list is the gallery ID.
Taking It Further: Automate with a Plugin
By reading gid, title, and slug from the wp_ngg_gallery database table, you can build a WordPress plugin that auto-generates these direct-edit URLs — complete with sortable columns (ID, title, slug), keyword filtering, and one-click access to each gallery’s edit screen in a new tab.
Notes
- Tested on: NextGEN Gallery / Imagely 4.2.2, WordPress 7.0
- This is an undocumented legacy URL. It may stop working in a future version of the plugin.
日本語版はこちら:



コメント