You can create a WordPress gallery from posts and pages you already have, with no new uploads. Modula takes the images from your content and can link each image back to its post. The gallery keeps up when your posts change.
Note: Content Galleries is part of Modula Pro, included from the Trio plan. Turn it on in Modula → Extensions (see how to install extensions).
Create a gallery from your posts and pages
-
Go to Modula → Galleries and click New gallery, or open an existing gallery. You can add content images to a gallery that already has other images.
-
In the gallery editor, click the arrow next to Add.
-
Choose Content Galleries. The Content Gallery window opens.

-
Under Please select the post type you want to import, pick Post, Page or a custom post type (a portfolio, products and so on).
-
Match the gallery fields to fields of your posts: Image (for the featured image,
_thumbnail_id), Title (for examplepost_title) and Caption (for examplepost_contentorpost_excerpt).The list is built from your latest post of that type. Make sure that post has an image, a title and some content. Advanced Mode shows every field the post has.

-
Turn on Add post link to image if a click on an image should open its post. Leave it off to keep the gallery’s normal click behavior.
-
Click Generate Gallery. A message tells you how many posts were imported, how many had no image and how many were already in the gallery.
-
Click an image in the gallery, then click Edit image.
-
Check its Title and Caption, and fix them if needed.
Modula takes one image per published item, using the fields you matched.
Items without an image are skipped. Images that are already in the gallery aren’t added twice. Their title, caption and link are updated instead.
When the gallery is ready, you can add it to a post or page.
The gallery follows your content
Once you build a gallery from a content type, Modula keeps it up to date:
- When you save a new or edited item of that type, its image is added to the gallery. If the image is already there, its title, caption and link are updated.
- When you change an item’s image, the old image leaves the gallery and the new one takes its place.
- When an item is deleted for good (emptied from the trash), its image is removed from the gallery.