Gallery

Part of the IP4CMS portal. ← All module guides

What it's for β€” Gallery is where you publish photo albums for your community. You group photos into dated albums (a clean-up day, a year-end function, a sports event), upload the images, set their order and pick a cover, then publish so residents can browse them in the member portal. Albums are automatically organised by year, and the module also tracks how much storage your photos are using.

Where to find it β€” Main portal menu under Communications β†’ Gallery (route /app/gallery, which opens the album list at /app/gallery/list). From an album you reach its detail/photo view at /app/gallery/:id/detail and the create/edit form at /app/gallery/new and /app/gallery/:id/edit.

Before you start

Key tasks

Create an album

  1. Go to Gallery. The list opens grouped by year. Click Create Album (opens a modal) β€” or navigate to New Album (/app/gallery/new).
  2. Fill in the album fields:
  1. Click Save. A new album opens at its detail page so you can add photos; an edited album returns to where you were.
If you don't set a cover, the first photo you upload automatically becomes the album cover.

Upload photos

  1. Open an album (click it in the list to reach its detail page), or use Add Photos from the album detail screen.
  2. Add images one of two ways:
  1. Only image files are accepted β€” non-image files are ignored automatically. You can select many at once (up to 50 per batch).
  2. Each file uploads with a progress indicator, then is confirmed and attached to the album. On success you'll see a "photo(s) uploaded" confirmation and the grid refreshes. Image width/height are read from the file and stored automatically.
Uploads go through the portal API to your tenant's object storage. A file must finish uploading before it can be confirmed β€” if you see "Upload not found in storage", let the upload complete and try again.

Order photos

Photos display in the order you set (then by upload time). To rearrange them:

  1. Open the album detail page.
  2. Drag a photo thumbnail and drop it onto the position you want. The grid reorders immediately and the new order is saved.

New uploads are always appended to the end of the album, so reorder after uploading if you need a specific sequence.

Set or change the cover

The first photo becomes the cover automatically. To change it, the cover is tied to the album's cover image reference β€” reorder so your preferred image is first, or delete-and-reorder, and the album cover follows the first remaining photo. (If you delete the current cover photo, the cover automatically resets to the first remaining image.)

View photos (lightbox)

On the album detail page, click any thumbnail to open it full-size in a lightbox. Use the previous/next controls to step through the album. If a photo's file is missing from storage you'll get a "re-upload it to view" warning instead of a broken image.

Edit album details

  1. Open the album and choose Edit Album (modal) β€” or go to /app/gallery/:id/edit.
  2. Change the Name, Date, Description, Event, Published state or Sort Order, then Save. Changing the Album Date moves the album to a different year group.

Delete a photo

On the album detail (or edit) screen, use the delete control on a photo and confirm. The photo and its stored file (and thumbnail) are removed. Deletion is permanent.

Delete an album

  1. In the album list, click the delete control on an album card and confirm.
  2. This permanently deletes the album and all photos in it β€” the warning spells this out. The image files are cleaned up from storage in the background.

Organise and find albums by year

The list automatically groups albums into year sections (newest year first), based on each album's Album Date.

Check storage usage

The list view shows total gallery storage used for your tenant (e.g. KB / MB / GB), summed across all gallery photos. Use it to keep an eye on how much space your albums consume; deleting photos or albums reduces it.

How the data connects

Permissions & access

Tips & gotchas