Skip to main content

Photo albums

With Photo albums on, members gather their photos into albums: a name, a few words about it, who sees it, and as many photos as the site allows, uploaded many at once. An album lives on a profile, in a space, or on an event page as its gallery. In the feeds it is one post, and each of its photos has a page of its own with likes and replies.

It's switched on under Settings → Components → Photo albums, where its settings are.

Making an album​

New album on the Photos tab of a profile or a space opens the form:

  • Name and About it, a few words under the name.
  • Where: on the profile of the member, or in a space they may post in.
  • Who sees it: Everyone, Members, Followers, People I choose or Only me. In a space, the album is seen as the posts of the space are.
  • Content rating, while Ratings and warnings is on: General, Mature or Explicit.
  • Photos: many picked at once, or dropped on the form.
The new album form: Name Autumn walk, About it, Who sees it with Everyone picked, Members, Followers, People I choose and Only me, Photos 0 of 200 with Add photos, and Make the album
A new album

Photos go up three at a time, each with its progress. One that fails keeps its tile with the reason and Try again. Leaving the page while photos are still on their way asks first, and an album saved before they all arrive takes what has arrived, the rest joining as they come.

Each photo has a Caption, shown under it in the picture viewer, and Alt text, read aloud in its place for people who can't see it. One of them is the Cover. The photos are put in order by dragging their handle, or from the keyboard: Enter picks a photo up, the arrow keys move it, and Enter puts it down.

Photos keep no location or other details of the camera, and a photo taken on its side is turned upright.

An album and its photos​

An album page has its name, who made it, how many photos it holds, who sees it and its text, with Edit album for whoever runs it.

The head of the album Spring walk on the north ridge: Maya Chen, 7 photos, Everyone, and its text about a morning with the club
The head of an album

Under it, its photos as a grid, a page at a time, each opening in the picture viewer with its caption. Whoever runs the album adds more photos by dropping them on its page.

Each photo also has a page of its own, found by its caption in search: the photo large, its album and the photos either side, then its likes and replies.

The photos of an album in a grid of four a row: a meadow of flowers, a yellow poppy, two birds at dusk and more
The photos of an album

In the feeds​

A new album is one post in the feeds: its name, its text, how many photos it holds, and its first four photos, the last with how many more. Likes and replies belong to that post. Photos added later change it in place, with no new post.

Maya Chen posted the album Spring walk on the north ridge: its text, 7 photos, four photos in a square with +3 on the last, then Like, Reply and Share
An album in the feed

The Photos tab​

Each profile has a Photos tab with its albums as cards, each with its cover and how many photos it holds, and all the photos of the member too. In a space, its admins turn the tab on with Albums here, on the Posts tab of the settings of the space, and whoever may post there makes albums.

Three album cards side by side on a Photos tab: By the sea, Garden club, June and Spring walk on the north ridge, each with its cover, the number of photos and who sees it
The Photos tab of a member

With Events on, each event page has a gallery its guests add to, under the same rules as posting there.

The Latest photos widget shows the newest photos each reader may see, each leading to its album.

Who sees the photos​

A photo opens only for the people who may see its album, at every size and wherever its address goes. When an album narrows to fewer people, its photos close to the others at once. An album shared with People I choose opens for those members alone, and each is told it was shared with them. Photos kept on a storage service open by a link sealed for a few minutes.

Trust levels can hold back uploads, and a member who may not upload yet is told why, with no picker offered.

The settings​

Where albums live: On profiles, In spaces and On events, each switched on
Settings → Components → Photo albums
  • On profiles: a Photos tab on every profile, each album with its own audience.
  • In spaces: the admins of a space can turn its Photos tab on.
  • On events: a gallery on each event page, once Events is on.
  • Photos an album holds: 200 at first, up to 1,000, an event gallery too. What doesn't fit is said on the form.
  • Who makes albums: by role, and in a space its members who may post there.

Changing Photo albums​

The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Photo albums that way, so albums and their photos stay fast. Pages drawn from data gives the rules, the API and a recipe for the page of one item.

  • Showing more on an album or a photo: data and a template, never HTML drawn for one reader. What every reader sees, such as a place of your own where it was taken, goes in the data of its row through poly_community_item_row_data and is bound in a template of the page. What one reader alone sees is a part registered on poly_community_register_page_data, its answer returning data, bound with state.partHere. wp poly-community page-data check kit-album and wp poly-community page-data check kit-photo say whether an album and a photo are one drawing for a visitor, a member and an administrator, and what to change if they are not.
  • With a coding agent such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the page of an album the date of its newest photo: add it to the row of the album through poly_community_item_row_data and bind it in the template of the page. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-album and fix what it reports."
  • In the admin: the settings above, and Settings → Words for any of its texts.
  • In the Site Editor: Community: Album, Community: Photo, Community: New album and Community: Edit album are its pages, with the blocks Album header, Album photos, Album replies and Album photo. The Photos tab of a profile or a space is the block Photos tab, the template part Album card is each album on it, and Latest photos is a block for any page or a widget area.

Changing a component sets out the ways every component changes.

Switched off​

The album pages answer as not found, albums leave the feeds and search, and their photos close. Everything is kept for when it is on again. Deleting the data of Photo albums takes every album with its photos, and every photo of the event galleries, their files too, from this server and from any storage.