Image Gallery for Confluence Documentation
A complete guide to creating, configuring, and maintaining image galleries in Confluence Cloud. Use current-page attachments and device uploads, or connect a Google Drive folder. Present your collection as a grid, masonry gallery, carousel, or slideshow.
Reviewed November 24, 2026. This guide describes the current Confluence Cloud app. Automatic legacy macro conversion is not supported.
Table of Contents
What This App Does
- Local collections: upload images and curate references to existing current-page attachments without copying the files.
- Connected folders: display images directly in one Google Drive folder using each viewer's own authorized account.
- Four layouts: Grid, Masonry, Carousel with dots, and Slideshow with thumbnail navigation.
- Context and ordering: local captions, credits, custom alt text, optional attachment-comment captions, sorting, and manual arrangement.
- Viewing: full-screen navigation, keyboard controls, touch swipes, optional carousel playback, and theme-aware presentation.
- Loading: lazy image requests, initial batches, Show more, and automatic batch reveal for Grid/Masonry.
Each gallery has one source: local uploads/current-page attachments, or a Drive folder. It is not a cross-page search tool, image editor, or shared site-wide asset library.
Quick Start
- Open a Confluence Cloud page. You need edit permission. Save the page first if prompted; local management needs a page ID.
- Insert Image Gallery. Search the editor's insert menu or slash-command macro picker. Open the macro's configuration action to reach Gallery settings.
- Select images. Local files is the default. Open Gallery images and upload supported files or add Page attachments. Alternatively, select Google Drive and paste a folder URL.
- Choose the presentation. Select a layout, optionally add a title, and configure captions, columns, loading, or playback.
- Save settings. Wait for selected local uploads and comment imports to finish. Publish/update the Confluence page separately to share the result.
- View the gallery. Click an image for full-screen viewing. Drive viewers may need to authorize a Google account with folder access.
Installation & Prerequisites
Install Image Gallery for Confluence from the Atlassian Marketplace. A Confluence administrator can install the Cloud app and review its requested permissions during setup. Once installed, insert the Image Gallery macro on a Confluence page to start building a collection.
- Confluence Cloud with the app installed and an active license where required.
- Access to the page and its attachments. Editing, uploading, and deleting need the corresponding Confluence permissions.
- A saved/page-identified context for local attachment management. Draft attachment operations are supported when a page ID exists.
- For Drive only, a Google account with folder access and authorization for the read-only connector.
No Google API key is entered in Gallery settings. Google authorization is per viewer; an editor does not need to authorize before saving the folder link.
Local Files & Page Attachments
Upload from your device
Choose Local files and open Gallery images. Select multiple files with the file picker. The empty-gallery drop zone also supports drag and drop; it is not a general drop target once the gallery already contains images.
Accepted local files are non-empty JPEG, PNG, GIF, WebP, and AVIF. Supported extensions can identify missing/generic MIME metadata; unsupported declared types can be rejected. SVG, HEIC, and BMP are not accepted local upload types. Browser format support is also required.
Each accepted file uploads immediately and independently, before Save, as a page attachment. The stored attachment gets a generated filename; the gallery retains the original display filename. Selecting the same device file again creates another attachment rather than deduplicating its contents.
Cancel does not undo uploads. Uploaded attachments remain even if you cancel settings or remove the macro. Preview failures are distinct from upload failures. For an upload failure, remove that failed item and select its file again; selecting it again without removing the failed item leaves Save blocked.
Reuse existing images
Page attachments lists supported images attached to the current page. Select individual images to include/exclude them, or use Add all to gallery. Add all uses the picker order and skips already-selected attachment IDs. Files are referenced, not copied.
Add all is a one-time selection: future attachments are not automatically included. Other pages and spaces are not local sources. The app defines no additional local upload-size/count ceiling, but Confluence policies and platform limits still apply.
Connect Google Drive
- Copy the URL of a Google Drive folder containing your images.
- Switch Image source to Google Drive and paste it into Google Drive folder.
- Select sorting and presentation settings, then Save.
- View the page and authorize an account with folder access when prompted.
Use an HTTPS drive.google.com folder URL such as https://drive.google.com/drive/folders/FOLDER_ID or https://drive.google.com/drive/u/0/folders/FOLDER_ID. A trailing slash and folder resource key can be accepted. Individual-file links, other hosts, and unsupported path forms are not valid folder sources.
The editor only requires a nonempty link to Save. Validity and viewer access are checked when the gallery loads, so saving a link does not prove it is accessible.
Folder scope and updates
The collection includes nontrashed image files directly inside the folder, including accessible shared-drive items. Subfolders are not searched. One gallery cannot combine folders or mix Drive with local attachments. Changes appear when the gallery loads the folder again; this is not background polling or live push synchronization.
Default sorting is Name A–Z. Name Z–A, Newest, and Oldest are available. Drive has no manual reordering, caption sorting, or local-style per-image metadata editor.
Access and image delivery
Each viewer authorizes their own account. Authorization does not grant folder sharing permissions, and the editor's credentials are not shared. Anonymous link-only viewing is unsupported. Local attachment galleries need no Google account.
Drive lists image MIME types broadly, so browser display support may vary. Above 1 MB, the app attempts an authenticated preview up to 1,600 px. Preview/original responses must fit approximately 3.5 MB of raw image data. If no usable preview exists and the original is too large, use a smaller file or Open in Drive.
Manage Images
The Gallery images strip shows selected thumbnails and a +N overflow indicator. Empty galleries offer Add images. Opening it enters Manage images. Back preserves staged selection and edits; manager and settings share Save/Cancel.
Gallery images and Page attachments have separate collections and browsing order. Lists scroll independently of controls. Image details appear alongside the selection or below it on narrow screens.
- Upload files, add one attachment, or Add all to gallery.
- Sort, drag reorder, or use accessible Move earlier/later controls.
- Open image details; remove a reference or confirm Clear gallery.
- Delete page attachment and Delete all attachments are separate destructive operations.
Save is blocked while any selected local item is uploading, lacks a completed attachment ID, or has failed. Pending comment imports also block Save. Removal, clearing, and attachment deletion have upload-in-progress guards. Clearing a completed selection permits saving an empty gallery.
Ordering & Sorting
| Setting | Default | Options and behavior |
|---|---|---|
| Local collection | Saved sequence | One-time Name A–Z/Z–A, Newest/Oldest, or Caption A–Z/Z–A sort, followed by manual adjustment. |
| Manual ordering | Selection order | Drag handles or Move earlier/later controls; position changes are announced. Applies to every layout and viewer. |
| Page attachment browser | Name A–Z | Independent name/date sorting; determines the order used by Add all. |
| Drive Sort by | Name A–Z | Name A–Z, Name Z–A, Newest, or Oldest. No manual or caption sorting. |
Name comparisons are locale-aware, case-insensitive, and numeric-aware. Unknown dates/empty captions sort last. Caption sorting uses a custom caption or enabled comment fallback. A local sort changes the current sequence once; it is not an automatic rule for future additions.
Captions, Credits & Alternative Text
| Setting | Default | Options and behavior |
|---|---|---|
| Caption | Empty | Local only; up to 500 editor characters. Plain text, trimmed on Save. |
| Credit / copyright | Empty | Local only; up to 200 characters. Shown alongside captions. |
| Alt text | Filename fallback | Local only; up to 300 characters. Describe meaningful visual content for assistive technology. |
| Attachment comment | Not enabled by default | Optional copied fallback caption, up to 500 characters. Custom caption wins. |
| Captions and credits | Show | Shared visibility across layouts and viewer. Hide does not erase metadata or disable alt text. |
Use attachment comment as caption imports a snapshot, not a live caption that follows future comment edits. Save waits for pending imports. A missing comment and a failed retrieval are different states; retry a failed retrieval as needed.
Metadata is saved in the macro, not written to the attachment. Editing details does not rename the file or change its attachment comment. Captions do not support rich text or per-image links. Drive names supply fallback accessible labels; metadata editing is local-only.
Gallery Settings Reference
Open the macro configuration action to edit Gallery settings. These defaults apply to new/unspecified values; existing saved choices take precedence.
| Setting | Default | Options and behavior |
|---|---|---|
| Image source | Local files | Local files/current-page attachments or Google Drive. Older configurations with a folder link can reopen as Drive. |
| Title | No title | Optional, up to 100 characters, trimmed on Save. Nonempty title shows heading and total image count; otherwise both are omitted. |
| Layout | Grid | Grid, Masonry, Carousel with dots, or Slideshow. |
| Sort by | Name A–Z for Drive | Drive-only setting; local ordering is managed inside Manage images. |
| Columns | Auto | Grid/Masonry only: Auto or 2–6, with responsive overrides. |
| Show Images | All | Grid/Masonry only: All or First N. Initial N is 12; accepted range 1–500. |
| Load images on scroll | On | Grid/Masonry only; lazy image loading and automatic batch reveal. |
| Captions and credits | Show | All layouts. Metadata remains saved when hidden. |
| Carousel settings | Auto height / Fit / Blur | Carousel with dots and Slideshow only. Appearance and playback are detailed below. |
Source switching retains temporary in-dialog state, but Save serializes only the chosen source. Switching layouts hides irrelevant controls. The layout illustrations are static, not a live preview of the configured images.
Layouts & Responsive Columns
| Setting | Default | Options and behavior |
|---|---|---|
| Grid | Default | Square cropped thumbnails. Auto uses approximately 170 px minimum tile width and may exceed six columns on wide surfaces. |
| Masonry | Optional | Original proportions; round-robin column assignment using saved order, not shortest-column packing. Auto uses approximately 180 px per column, capped at three. |
| Carousel with dots | Optional | One image frame with previous/next actions and dot navigation; uses the complete collection. |
| Slideshow | Optional | Carousel frame with responsive thumbnail navigation, including mouse-drag browsing of thumbnails. |
| Columns | Auto | Fixed 2–6 for Grid/Masonry. At viewport widths of 480 px or less, both use two columns regardless of the configured count. |
Appending batches preserves Masonry column assignments while the column count remains unchanged. Dots and thumbnails are determined by the selected layout, not independent toggles. Single-image collections omit arrows, selectors, and playback controls. Confluence page/macro width affects the available space.
Loading, First N & Show More
All makes the whole collection available in Grid/Masonry. First N is a batch size, not a total limit: the first N images appear, and Show more reveals the next batch. Values normalize to 1–500; blank/invalid/zero First values fall back to 12.
Load images on scroll On fetches images near the viewport and reveals the next batch near Show more. Off loads displayed images eagerly and leaves Show more manual. Browsers without intersection observation fall back to eager loading/manual reveal.
Carousel layouts ignore columns, batch size, and lazy settings and use all images. The viewer also receives the full collection, including hidden later batches. Neighbor images preload for navigation. Large collections remain subject to browser, provider, and Forge limits.
Carousel & Slideshow Appearance
| Setting | Default | Options and behavior |
|---|---|---|
| Height | Auto | Auto uses roughly 240–550 px based on viewport height. Custom: 160–1,000 px, rounded/clamped on blur or Save. Empty/non-numeric means Auto. |
| Image fit | Fit | Fit contains the full image. Crop fills proportionally and hides edges. Stretch fills without preserving proportions. |
| Background | Blur | Fit offers Blur (blurred image), Solid, or Clear (transparent). |
| Background with Crop/Stretch | Solid rendering | Selector disabled; the saved Fit background preference is retained. |
| Transition | None | None, Fade, or Slide, independent of Playback On/Off. Slide also enables mouse dragging of the main image. |
Height controls the frame, not the whole macro. Captions, controls, and navigation add space. Settings do not modify source files. Fit, height, and background do not carry into the full-screen viewer.
Playback & Navigation
| Setting | Default | Options and behavior |
|---|---|---|
| Playback | On | Enables Play/Pause and subordinate settings. Off hides playback controls; manual navigation still works. |
| Duration | 5 seconds | 2–30 seconds, rounded/clamped. Timing waits until the requested image is ready. |
| Autoplay | Off | Starts carousel playback automatically when enabled, except when reduced motion suppresses initial autoplay. |
| Pause on hover | On | Temporarily pauses automatic playback while hovering. |
| Countdown | Hide | Show displays slide progress; Hide omits it. |
| Automatic advance | Loops | Last-to-first during playback. Manual navigation stops at collection boundaries. |
Use previous/next, Left/Right keys, Home/End, deliberate horizontal touch swipes, or dot/thumbnail selection. Slide transitions also support mouse dragging. Playback pauses when the document is hidden and when configured hover pause applies. Reduced-motion users can explicitly press Play even though initial autoplay/animations are suppressed.
Full-screen Image Viewer
Click an image in any layout to open its position in the full collection. The viewer contains the whole image against a dark backdrop, with position, optional captions/credits, accessible image text, and navigation. It is not an image-editing or download interface.
- Navigate by previous/next, Left/Right, Home/End, or horizontal swipes.
- Close with Escape, the close button, or empty-stage click.
- Always opens paused. Carousel playback settings carry over; Grid/Masonry viewers use playback defaults.
- Preloads previous/next images and includes later batches not yet shown on the page.
- Caption visibility follows the macro. Filenames are fallback accessible labels, not guaranteed visible filename captions.
- Retry reloads failed images; Drive can offer Open in Drive.
The viewer stays dark in both Confluence themes and does not inherit carousel height/crop/background preferences.
Save, Cancel, Removal & Deletion
| Setting | Default | Options and behavior |
|---|---|---|
| Save | Explicit | Commits references, metadata, order, and settings. Waits for selected local uploads and comment imports. Publish/update the page separately. |
| Back | Keeps edits | Returns from the manager without discarding staged work. |
| Cancel | Discards configuration edits | Does not undo uploads or attachment trashing that already occurred. |
| Remove / Clear gallery | References only | Applied on Save. Clear confirms and permits an empty gallery; source files remain. |
| Delete page attachment | Immediate | Confirmed, permission-controlled action moves the actual file to Confluence trash, not at Save. |
| Delete all attachments | All listed supported images | Targets page images, not only gallery selections. Unsupported attachments are untouched. |
| Delete macro | Macro only | Leaves page attachments behind. |
Cancel does not undo deletion. Trashed files can break other uses, including a previously saved gallery when you cancel settings afterward. Bulk deletion can partially succeed; successes remain applied and failures are reported without rollback.
Switching to Drive can allow Save without waiting for local uploads, but started uploads still create attachments. Pending comment imports must finish.
Migration & Current Boundaries
Atlassian is retiring the legacy editor/Gallery macro. This app helps rebuild Cloud galleries; it does not automatically migrate Data Center content or convert existing macros.
- Migrate/upload images to the destination Cloud page first.
- Insert Image Gallery and select current-page attachments.
- Recreate order, captions, layout, and loading settings.
- Check published output and permissions before removing the old presentation.
Legacy cross-page sources, filters, label inclusion/exclusion, size/modification-date sorting, and future-attachment auto-inclusion do not map directly. Older Drive links may be retained, but obsolete carousel layout identifiers can reopen as Grid and should be changed explicitly.
Not supported: recursive/multiple Drive folders, mixed sources, anonymous Drive viewing, cross-page collections, per-image links, rich-text captions, file crop/rotate editing, a shared site-wide library, or live background synchronization. The app runs on Confluence Cloud, not Data Center.
Atlassian's legacy Gallery macro guidanceSecurity, Privacy & Accessibility
Local content uses Confluence attachments and viewer access; uploading/deleting requires Confluence permissions. Google is not required for local galleries. Metadata edits only change macro settings.
Google authorization requests drive.readonly and userinfo.email. It lists/reads images as the current viewer and never creates, edits, or deletes Drive files. Email identifies the provider account. Image delivery verifies direct folder membership and nontrashed image status.
Google data is used only for gallery features. FlowSprinter's use and transfer complies with the Google API Services User Data Policy, including Limited Use requirements.
Eligible versioned local attachment thumbnails may persist in an account/site/environment-isolated browser cache, bounded to 128 entries, approximately 64 MiB estimated storage, and 10 minutes. Drive bytes and full-size local images are not persisted by that cache. Storage failures degrade to uncached loading.
The gallery automatically follows Confluence light/dark theme; there is no app theme selector. Controls provide labels/focus states and keyboard ordering/navigation. Add meaningful local alt text. Reduced motion suppresses transitions and initial autoplay; the viewer keeps a dark backdrop.
Troubleshooting
| Setting | Default | Options and behavior |
|---|---|---|
| Cannot manage images | Page context | Save the page if prompted; check the page ID and attachment permissions. |
| Save disabled | Pending/failed items | Wait for uploads/comment imports. Remove failed uploads before reselecting. Drive requires a nonempty folder value. |
| Upload failed | Remove and reselect | Check type, nonempty file, size policy, permissions, and connection. No dedicated upload Retry action exists. |
| Preview unavailable | Separate preview failure | A file may still be uploaded successfully. Check upload status before uploading a duplicate. |
| Attachment list failed | Retry | Use the list Retry action and check Confluence access. |
| Drive folder error | Link/account access | Use a folder URL, not a file. Check existence, trash status, and viewer access. Saving does not validate the folder. |
| Authorize Google Drive | Per viewer | Choose an account already granted folder access. Authorization does not grant sharing rights. |
| Image cannot display | Format/size | Check browser format support and Drive preview/response limits. Use Open in Drive or a smaller file. |
| Failed carousel/viewer image | Retry | Retry invalidates/reloads it. Grid/Masonry tiles have no per-image Retry; reload after resolving source issues. |
| Empty gallery | Selection/scope | Local requires saved selections. Add all does not follow later attachments; Drive excludes subfolders. |
| License check failed | Retry/admin | Retry failed checks. Inactive license needs a Confluence administrator. |
| Partial deletion failure | Review results | Successful deletions remain applied. Check permissions/failures before retrying; Cancel cannot restore files. |
Some generic Drive collection failures do not offer a general Retry button. Reload after fixing the source/access issue. For support, include source, layout, browser, exact error, affected viewers, and whether the image opens directly. Never share tokens or confidential images unnecessarily.
Support & Further Reading
Report a problem in Gallery settings opens the FlowSprinter support portal. Include reproduction steps and redacted screenshots. Contact your Confluence administrator first for license or attachment permission issues.