Gallery
BIAB's gallery system stores project photos, portfolio images, and media items — tagged and organized in the dashboard. The SDK returns the approved public gallery as a flat list.
const items = await client.gallery.list()
// → [{ id, url, thumbnailUrl, caption, alt, tags, createdAt }, ...]
Each item includes the full-resolution URL, a thumbnail URL, an optional caption and alt text, tag metadata, and the upload date. Items are returned in the order configured in the dashboard (drag-and-drop reordering).
Render a grid, masonry layout, or carousel with the returned URLs. The
thumbnailUrl field is ideal for grid thumbnails; use url for the
lightbox or detail view.