Gallery Images Link Updater WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Change default Wordpress Gallery blocks so that they link to media files and work with lightboxes by default.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mikegoodstadt/gallery-images-link-updater/releases/download/v1.0.0/gallery-images-link-updater.zipGallery Images Link Updater sets link defaults for native WordPress Gallery blocks and can optionally link new standalone Image blocks to their media files.
The plugin stores standard core/gallery and core/image attributes and markup. It has no frontend runtime dependency and does not include a lightbox.
Scope
- Choose Media File, Attachment Page, or None for newly populated Galleries.
- Optionally link new standalone Image blocks to Media File.
- Handle Image-to-Gallery transformations using the configured Gallery default.
- Update only unlinked Galleries or deliberately overwrite all Galleries with a selected destination.
- Dry-run, update, back up, roll back, and clean up existing Gallery blocks from Tools → Gallery Images Link Updater.
- Use the bundled Spanish (Spain) interface translation.
- Package installable release ZIP files from version tags.
Development
This repository is the plugin directory itself. Install it at:
wp-content/plugins/gallery-images-link-updater
Release process
- Update the version in
gallery-images-link-updater.php,readme.txt, andCHANGELOG.md. - Commit the release.
- Create and push a version tag, for example:
git tag v1.0.0
git push origin main
git push origin v1.0.0
The GitHub Actions workflow builds gallery-images-link-updater.zip and attaches it to the GitHub release.
License
GPL-2.0-or-later.
Releases
2 releases. Each count is every asset in that release; expand a row for the breakdown.