Years of galleries in an old plugin don’t have to keep you there: you can migrate WordPress galleries to Modula, and your posts get updated for you. No rebuilding, no re-uploading.
It’s free, and it works from the WordPress [gallery] shortcode, FooGallery, Final Tiles and Photoblocks.
The import itself takes seconds: on our test site in October 2026, a three-image shortcode gallery came over in 0.12 seconds. What deserves your attention is the backup before it and one step right after it.
We make Modula, so this guide comes from the importer’s code and a real test run, rough edges included. Picture a wedding photographer with 40 posts from 2016 on the [gallery] shortcode and 12 client galleries in FooGallery.
The short version
- Make a full backup, and don’t deactivate the old gallery plugin yet.
- Install Modula, plus the free migrator for your old plugin.
- In Modula → Settings → Migrate, pick the source, tick your galleries and click Import.
- Straight away, convert the new galleries to the new editor in Modula → Content.
- Check captions and links, then retire the old plugin.

Moving galleries to another website instead? See how to import and export galleries.
Before you switch gallery plugins, back up your site
Back up your whole site first, because Modula’s import has no undo button. The migrator rewrites your post content the moment it runs, saved revisions included. So restoring an old revision won’t bring the old shortcode back.
- Keep the old plugin active. Modula spots FooGallery galleries only while FooGallery runs, and your pages stay intact until the swap.
- Note a few pages to check. Search your posts for the old shortcode (
gallery ids,foogallery) and write down three or four. - Install Modula. In Plugins → Add Plugin, search for “Modula”, then install and activate it (install guide). Modula Lite has 160,000+ active installations.
Good to know
Pick a quiet hour, or use a staging site (a test copy). The swap in your posts is instant.
If an imported gallery has a set number of columns, it arrives as Masonry, and its page can show an error until you convert it. Converting takes a minute, but you don’t want visitors arriving in between.
What Modula imports from each gallery plugin
The shortcode importer is built into Modula Lite. FooGallery, Final Tiles and Photoblocks each have their own free migrator on WordPress.org, updated between August and October 2026.
| Your old gallery | What you install | What comes over | Watch out for |
|---|---|---|---|
WordPress [gallery] shortcode | Nothing, it’s in Modula Lite | The same images and their text | Columns and links are dropped; it becomes Masonry, 3 columns |
| FooGallery | Migrate away from FooGallery | The same images and text, custom links, most layouts | Portfolio loses its spacing. More in FooGallery alternatives |
| Final Tiles Grid Gallery | Migrate away from Final Tiles, installed by hand | The same images and links | No layout or per-gallery captions; check the order |
| Photoblocks | Migrate away from Photoblocks Gallery, activated by hand | The same images, links and block sizes, as a Custom grid | Per-gallery captions don’t show |
Photoblocks and Final Tiles: set up the migrator yourself
For FooGallery, Modula does the setup for you. Open any Modula screen and a notice called Galleries from another plugin detected appears under Notifications, the bear icon at the top right.
Click Install & go to Migrate (or Activate & go to Migrate if the migrator is already installed). It installs and activates the migrator, then opens Migrate.

For Photoblocks, skip that button: it installs the migrator but leaves it switched off. Install it from Plugins → Add Plugin instead and click Activate.
Already clicked the button? Activate Modula Photoblocks Gallery Migrator on the Plugins screen. The notice may stick around afterwards; once your plugin shows up under Gallery source, ignore it.
Final Tiles never triggers the notice, so install Migrate away from Final Tiles yourself the same way.
Gallery blocks: rebuild them from the Media Library
Modula can’t import the WordPress Gallery block, only the older shortcode. The block editor became the default in WordPress 5.0, December 2018, so your newer posts probably hold Gallery blocks. (FooGallery Migrate can read them; better you hear it from us.)
The rebuild is quick, because the photos are already uploaded:
- Go to Modula → Content and click New gallery.
- Click + Add. It opens on the Media library tab: tick the same photos and add them together (adding many images at once).
- Open the post and replace the Gallery block with a Modula Gallery block set to your new gallery.

Albums and some plugins don’t come over
FooGallery albums aren’t imported. Bring the galleries over, then rebuild the albums in Modula on the Trio plan or higher (pricing).
There’s no importer for 10Web Photo Gallery, Robo Gallery, Jetpack, Meow Gallery or Visual Portfolio either, so rebuild those like Gallery blocks. Coming from Flickr? See migrating from Flickr to WordPress.
Captions come from the Media Library, so move yours there first
Modula 3.0 shows each image’s title, alt text and caption from the Media Library, not from the copy inside the old gallery. For shortcode and FooGallery galleries that’s fine, because the text is already there.
Photoblocks and Final Tiles are different: captions typed only inside those plugins won’t show. Before you import, copy the captions you care about into Media → Library.
How to migrate WordPress galleries to Modula, step by step
To migrate WordPress galleries to Modula, open Modula → Settings → Migrate, pick a Gallery source, tick your galleries and click Import. The screen appears only when there’s something to import; if it’s missing, check that your migrator is active.
From the WordPress gallery shortcode
The classic editor added galleries as a shortcode like [gallery ids="12,13,14"], and Modula finds every post that has one.
- Go to Modula → Settings and open Migrate.
- In Gallery source, choose WP Core Galleries.
- Under Galleries to import, every gallery shows up by number and post title, like “#5 from Our weekend at the lake”. Tick yours, or use Select all.
- Click Import. You’ll see “Importing 1 of 2…” and then “Imported 2 of 2 galleries.”

The shortcode is replaced wherever it appears. Each gallery starts as Masonry, 3 columns; the shortcode’s columns, size and link settings aren’t copied.
Watch out
Tick only real galleries. The list also catches drafts and shortcode examples written out in tutorials. Import one of those and Modula rewrites the example too.
For a wedding photographer’s 40 shortcode posts, this is the easy half: tick them all, click Import and go straight to the convert step below.
From FooGallery, Final Tiles or Photoblocks
With the old plugin still active and its migrator on:
- Go to Modula → Settings → Migrate.
- In Gallery source, choose your plugin, for example FooGallery.
- Tick galleries under Galleries to import. Anything imported before is tagged Imported.
- Leave Delete source galleries after import off (it deletes for good) and click Import.
With Modula Pro on the Trio plan or higher, FooGallery’s Image Viewer comes over as a Slider.
Convert your imported galleries to the new editor right away
Imported galleries arrive in Modula’s classic format, so convert them to the new editor as soon as the import finishes. Until you do, a page with a Masonry one on it can show an error screen instead of the whole page.
Those are the galleries with a set number of columns: every shortcode and Final Tiles import, plus FooGallery galleries that had a column count. Justified, Tiles and Custom grid imports aren’t affected.
In our October 2026 test, a post with a freshly imported shortcode gallery wouldn’t load until we converted it. Then it showed up fine as Masonry, 3 columns (2 on tablets, 1 on phones).
To convert them all at once:
- Go to Modula → Content and tick the new galleries.
- Choose Convert to new editor from the bulk actions and confirm. You’ll see something like “Converted: 12. Skipped: 0. Failed: 0.”
For one gallery, use Convert to new editor in its row’s Actions menu (⋮). Converting keeps the same ID and shortcode, so your pages pick up the change.

Good to know
Don’t choose Try the new editor here. It only makes a copy to test, with a new shortcode, so it won’t fix your pages.
Restore classic editor brings back the old settings and the old problem, so stay in the new editor. Gallery blank after converting? Update Modula (and Modula Pro), hard-refresh with Ctrl+Shift+R (Cmd+Shift+R on a Mac) and clear your page or CDN cache.
Then pick a Type under Layout. Eight of Modula’s 16 gallery types are free, including Masonry, Justified grid and Tiles (creating an image gallery in WordPress).
Check captions, links and spacing
After converting imported galleries, check captions, links and spacing on a few pages; each is a quick fix in Modula’s new editor.
- Captions. The caption is the image’s Media Library Description if it has one, otherwise its Caption. Seeing longer text than expected? That’s the Description. Edit it in Media → Library or by clicking the image in Modula’s editor (titles and captions).
- Links. Linked images can open the lightbox after converting. Under Lightbox, set On click to Lightbox, or link when set, or use Fix links in the “Custom URL tile links after Modula 3.0” notification.
- Spacing. FooGallery Portfolio galleries arrive with Modula’s 10 px. Set your own under Layout → Spacing.
- Order. Final Tiles galleries may lose their image order. Reordering with Sort needs a paid plan.

Clean up and retire the old plugin
Once every page looks right, track down the galleries Modula’s migrator couldn’t swap, then deactivate the old gallery plugin and its migrator.
- Look for leftovers. Search your posts for the old plugin’s name again. Page-builder widgets, theme files and odd shortcode spellings stay put. Replace them with the Modula Gallery block or the shortcode from Embed, like
[modula id="123"]. - Purge your caches. The swap writes straight to the database, so cached pages show the old gallery until you clear them.
- Deactivate the old plugin and the migrator.
Good to know
Delete source galleries after import is permanent. The migrators delete the old plugin’s galleries without a trip to the trash, and if you re-run with the switch on, they delete ones imported earlier too. (Shortcode galleries aren’t affected.)
Your images stay, but only a backup brings those galleries back, and the move works fine with the switch off.
If your old plugin gave galleries their own pages, redirect those addresses to the posts that now show them.
That’s the whole move for our wedding photographer: 52 galleries in Modula, in the same posts, without uploading a photo by hand.
Frequently asked questions
Yes. You’d only pay later, for Pro features like albums (Trio and up) or filters (Starter and up). The move itself uses free tools: the shortcode importer in Modula Lite and the migrators on WordPress.org.
No, only the classic [gallery] shortcode. Rebuild block galleries in a new Modula gallery: + Add opens your Media library, where the photos are already waiting.
They can, briefly. A page showing an imported gallery with a set number of columns can display an error until you convert it. Convert right after importing and it loads as usual.
Not if they’re in the Media Library, where Modula reads them. Captions typed only inside Photoblocks or Final Tiles won’t show, so copy them over first.
No. Import the galleries, then rebuild the albums in Modula on the Trio plan or higher.
The migrators skip galleries they’ve already imported (“Gallery already migrated!”) while the Modula copy exists, even in the trash. Delete that copy permanently to import again. Swapped shortcodes drop off the list.
Not from Modula. The import rewrites your posts and their revisions, so restoring your backup is the way back.
That’s an export and import. See how to import and export galleries or our migrate, import and export guide.



