FlowSprinterTry for free
Help Center

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

  1. Open a Confluence Cloud page. You need edit permission. Save the page first if prompted; local management needs a page ID.
  2. Insert Image Gallery. Search the editor's insert menu or slash-command macro picker. Open the macro's configuration action to reach Gallery settings.
  3. 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.
  4. Choose the presentation. Select a layout, optionally add a title, and configure captions, columns, loading, or playback.
  5. Save settings. Wait for selected local uploads and comment imports to finish. Publish/update the Confluence page separately to share the result.
  6. 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

  1. Copy the URL of a Google Drive folder containing your images.
  2. Switch Image source to Google Drive and paste it into Google Drive folder.
  3. Select sorting and presentation settings, then Save.
  4. 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

Settings, defaults, and behavior
SettingDefaultOptions and behavior
Local collectionSaved sequenceOne-time Name A–Z/Z–A, Newest/Oldest, or Caption A–Z/Z–A sort, followed by manual adjustment.
Manual orderingSelection orderDrag handles or Move earlier/later controls; position changes are announced. Applies to every layout and viewer.
Page attachment browserName A–ZIndependent name/date sorting; determines the order used by Add all.
Drive Sort byName A–ZName 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

Settings, defaults, and behavior
SettingDefaultOptions and behavior
CaptionEmptyLocal only; up to 500 editor characters. Plain text, trimmed on Save.
Credit / copyrightEmptyLocal only; up to 200 characters. Shown alongside captions.
Alt textFilename fallbackLocal only; up to 300 characters. Describe meaningful visual content for assistive technology.
Attachment commentNot enabled by defaultOptional copied fallback caption, up to 500 characters. Custom caption wins.
Captions and creditsShowShared 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.

Settings, defaults, and behavior
SettingDefaultOptions and behavior
Image sourceLocal filesLocal files/current-page attachments or Google Drive. Older configurations with a folder link can reopen as Drive.
TitleNo titleOptional, up to 100 characters, trimmed on Save. Nonempty title shows heading and total image count; otherwise both are omitted.
LayoutGridGrid, Masonry, Carousel with dots, or Slideshow.
Sort byName A–Z for DriveDrive-only setting; local ordering is managed inside Manage images.
ColumnsAutoGrid/Masonry only: Auto or 2–6, with responsive overrides.
Show ImagesAllGrid/Masonry only: All or First N. Initial N is 12; accepted range 1–500.
Load images on scrollOnGrid/Masonry only; lazy image loading and automatic batch reveal.
Captions and creditsShowAll layouts. Metadata remains saved when hidden.
Carousel settingsAuto height / Fit / BlurCarousel 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

Settings, defaults, and behavior
SettingDefaultOptions and behavior
GridDefaultSquare cropped thumbnails. Auto uses approximately 170 px minimum tile width and may exceed six columns on wide surfaces.
MasonryOptionalOriginal proportions; round-robin column assignment using saved order, not shortest-column packing. Auto uses approximately 180 px per column, capped at three.
Carousel with dotsOptionalOne image frame with previous/next actions and dot navigation; uses the complete collection.
SlideshowOptionalCarousel frame with responsive thumbnail navigation, including mouse-drag browsing of thumbnails.
ColumnsAutoFixed 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.

Playback & Navigation

Settings, defaults, and behavior
SettingDefaultOptions and behavior
PlaybackOnEnables Play/Pause and subordinate settings. Off hides playback controls; manual navigation still works.
Duration5 seconds2–30 seconds, rounded/clamped. Timing waits until the requested image is ready.
AutoplayOffStarts carousel playback automatically when enabled, except when reduced motion suppresses initial autoplay.
Pause on hoverOnTemporarily pauses automatic playback while hovering.
CountdownHideShow displays slide progress; Hide omits it.
Automatic advanceLoopsLast-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

Settings, defaults, and behavior
SettingDefaultOptions and behavior
SaveExplicitCommits references, metadata, order, and settings. Waits for selected local uploads and comment imports. Publish/update the page separately.
BackKeeps editsReturns from the manager without discarding staged work.
CancelDiscards configuration editsDoes not undo uploads or attachment trashing that already occurred.
Remove / Clear galleryReferences onlyApplied on Save. Clear confirms and permits an empty gallery; source files remain.
Delete page attachmentImmediateConfirmed, permission-controlled action moves the actual file to Confluence trash, not at Save.
Delete all attachmentsAll listed supported imagesTargets page images, not only gallery selections. Unsupported attachments are untouched.
Delete macroMacro onlyLeaves 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.

  1. Migrate/upload images to the destination Cloud page first.
  2. Insert Image Gallery and select current-page attachments.
  3. Recreate order, captions, layout, and loading settings.
  4. 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 guidance

Security, 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

Settings, defaults, and behavior
SettingDefaultOptions and behavior
Cannot manage imagesPage contextSave the page if prompted; check the page ID and attachment permissions.
Save disabledPending/failed itemsWait for uploads/comment imports. Remove failed uploads before reselecting. Drive requires a nonempty folder value.
Upload failedRemove and reselectCheck type, nonempty file, size policy, permissions, and connection. No dedicated upload Retry action exists.
Preview unavailableSeparate preview failureA file may still be uploaded successfully. Check upload status before uploading a duplicate.
Attachment list failedRetryUse the list Retry action and check Confluence access.
Drive folder errorLink/account accessUse a folder URL, not a file. Check existence, trash status, and viewer access. Saving does not validate the folder.
Authorize Google DrivePer viewerChoose an account already granted folder access. Authorization does not grant sharing rights.
Image cannot displayFormat/sizeCheck browser format support and Drive preview/response limits. Use Open in Drive or a smaller file.
Failed carousel/viewer imageRetryRetry invalidates/reloads it. Grid/Masonry tiles have no per-image Retry; reload after resolving source issues.
Empty gallerySelection/scopeLocal requires saved selections. Add all does not follow later attachments; Drive excludes subfolders.
License check failedRetry/adminRetry failed checks. Inactive license needs a Confluence administrator.
Partial deletion failureReview resultsSuccessful 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.