Menu
All plugins

Adaptive Gallery in action

A rail that fits the image, a lightbox with every photograph, and layouts you control at each Bricks breakpoint. These examples use eight wildlife images, including portrait and landscape originals.
Read the setup guideLayouts and overflowImage proportionsLive data sourcesAppearance and edge cases

Layouts, resizing and overflow

Use the arrows, thumbnails or dots. Open +N to browse the complete gallery, then close it on another image to see the main gallery synchronise.

Responsive by breakpoint

Vertical on desktop, horizontal below 991px, swipe and dots below 767px.

Horizontal thumbnails

The rail sits above the image; selecting a thumbnail crossfades the stage.

Swipe and dots

Use touch or the arrows. The eight dots track the current image.

Main image only

A clean image stage with arrows, count and a full-gallery lightbox.

One-slot overflow rail

A 150px stage and 150px thumbnail leave one slot: the gallery action.

Exact fit: two thumbnails

Two images, a 200px stage and 90px thumbnails: no unnecessary overflow action.

Every aspect ratio, with mixed originals

Fixed proportions keep the stage stable. Natural follows the selected photograph, so a portrait image changes the stage height. Contain preserves the whole image; Cover fills the frame.

3:2

Select the portrait photograph to compare it with the landscape originals.

4:3

Select the portrait photograph to compare it with the landscape originals.

Square

Select the portrait photograph to compare it with the landscape originals.

16:9

Select the portrait photograph to compare it with the landscape originals.

2:1

Select the portrait photograph to compare it with the landscape originals.

5:4

Select the portrait photograph to compare it with the landscape originals.

3:4 portrait

Select the portrait photograph to compare it with the landscape originals.

2:3 portrait

Select the portrait photograph to compare it with the landscape originals.

Natural

Select the portrait photograph to compare it with the landscape originals.

Five live image sources

Each example below reads the named source. The options gallery reverses the order, making its separate storage visible. Site editors can change these records and reload the page.

Media Library

Eight individually selected attachment records.

ACF on this page

Field: pg_ag_gallery. ACF Pro owns the original selection.

ACF options

Field: pg_ag_options_gallery, shared options scope; reversed selection.

Bricks dynamic tag

The ACF gallery tag resolves to local attachment IDs.

Custom post meta

The pg_gallery_meta value contains an attachment-ID array.

Attached images

The eight demo attachments belong to this page.

WooCommerce: the product source combines its featured image and product-gallery IDs. WooCommerce is not installed on this Playground, so a real product integration is documented in the guide rather than presented as a live test.

Appearance, motion and edge cases

These instances are independent. Try keyboard navigation in the lightbox, Escape, focus return, the thumbnail strip and changing the selected image before closing. Reduced-motion preferences disable the crossfade.

Right rail and Cover

Right-hand rail, cropped images and instant transitions.

Rounded thumbnails

An independent gallery with rounded thumbnails, captions and an image counter.

Single image

No previous/next arrows are needed for one image.

Empty gallery

Intentional empty source: no broken image or invalid counter should appear below this explanation.
View all controls and troubleshooting