Photo Gallery – Responsive Image Gallery & Lightbox

By rbplugins

★ 5.0/5 (3 ratings)30+ active installationsVersion 2.0.0

Modern photo & video gallery: drag-and-drop upload, bulk editing, EXIF, masonry, justified, tiles and slider layouts, 25 hover effects, lightbox.

Description

📄 Details | 🚀 Get PRO Version | 📖 Documentation

Photo Gallery RB 2 is a rebuilt, fast and easy photo gallery for WordPress. Drop your photos in, arrange them, pick a layout and a hover effect, and publish the gallery with a block, a shortcode, Elementor or Divi.

Theme-proof. Every gallery lives in its own Shadow DOM: your theme’s CSS cannot break it, and the gallery’s CSS never touches your theme. The gallery HTML is rendered on the server, so it shows without JavaScript and search engines see the images.

Easy image management

  • Drag & drop upload straight into the gallery, with progress
  • Add from the Media Library, or YouTube / Vimeo / MP4 videos by link
  • Reorder by dragging (or with the keyboard: Alt + arrows)
  • Select many images (click, Shift+click, Ctrl+click) and edit title, caption, description, alt text, link and tags for all of them at once
  • EXIF camera info (camera, lens, focal length, aperture, shutter, ISO, date) read on upload; fill titles and captions from EXIF/IPTC in one click
  • IPTC keywords from Lightroom become gallery tags automatically
  • Live preview of the real gallery, on desktop, tablet and phone widths

Social feeds

Add a feed to any gallery and its posts appear among your own photos, always up to date, with their own filter button:

  • YouTube: a channel’s videos, a playlist or a search (free)
  • RSS / Atom: any feed with pictures (free)
  • Instagram (business and creator accounts), Vimeo, Flickr, Unsplash, Dribbble and Twitch with Photo Gallery RB Pro

Feeds are cached and keep showing their last posts if the service is down. API keys are kept on the server, on the Connections screen.

Protect your photos

The Protect tab installs and activates our free companion plugins in one click:

  • Disable Right Click RB: no right-click, image dragging, long-press saving or copying, in galleries and the lightbox too
  • Robo Watermark: text and logo watermarks on your gallery images, with backups of the originals

Sell photos and work with clients (Pro)

With Photo Gallery RB Pro:

  • Sell digital downloads and prints from any gallery: through WooCommerce, or a built-in checkout with Stripe and PayPal
  • Protected downloads: buyers get the original file through signed links that expire, with a download limit
  • Private originals: while a gallery sells downloads, the originals wait in a closed folder and visitors reach a copy of up to 1600 px; off sale, every file goes back as it was
  • Client proofing: behind a password or personal links, clients pick photos, comment them and send their selection; you get an email with a list for Lightroom, and every selection under Photo Gallery → Proofing, filtered by gallery, date and client, with CSV export

Layouts

  • Grid with a choice of thumbnail shapes
  • Masonry
  • Justified (Flickr-style rows)
  • Tiles: five mosaic patterns
  • Slider: slide, fade or coverflow, with arrows, dots, thumbnails and autoplay
  • Columns for desktop, tablet and phone; spacing, corner radius, shadows
  • Filter buttons by tag, “Load more”, infinite scroll or page numbers

Hover effects

Zoom, fade, caption move, grayscale, blur and 20 effects inspired by Codrops’ Hover Effect Ideas: Lily, Sadie, Honey, Layla, Zoe, Oscar, Marley, Ruby, Roxy, Bubba, Romeo, Sarah, Chico, Milo, Selena, Apollo, Steve, Jazz, Ming and Duke. Optional 3D tilt and appear animations.

Lightbox

  • Images and videos (YouTube, Vimeo, MP4)
  • Slideshow with progress bar
  • Zoom and pan, swipe on phones, keyboard navigation
  • Thumbnails strip, captions, camera info
  • Sharing: Facebook, X, Pinterest, LinkedIn, WhatsApp, Telegram, email, copy link; the native share sheet on phones
  • Fullscreen and download buttons
  • A link to each open image (#hash), so a shared link opens the same photo
  • Dark and light themes

Style

Colors for overlay, text and accents, any Google Font or the theme’s font, title and caption sizes. Advanced users can override any value from the theme with CSS custom properties (--photo-gallery-rb-gap, --photo-gallery-rb-accent, …) and style inner parts with ::part().

Works with

  • Block editor: the “Photo Gallery RB” block with a live preview
  • Shortcode: [photo_gallery_rb id="12"], any setting can be overridden: [photo_gallery_rb id="12" layout="masonry" columns="3"]
  • Elementor widget and Divi module
  • The classic “Photo Gallery RB” widget from version 1 keeps working

External services

The gallery itself works on your site alone. These services are only contacted when you use the feature that needs them:

  • YouTube Data API (Google) — a YouTube feed asks it for the videos of the channel, playlist or search you entered, with your API key, from your server. The answer is cached. Terms, Privacy.
  • YouTube and Vimeo players — a YouTube or Vimeo video item shows the service’s thumbnail (i.ytimg.com for YouTube), and its player (youtube-nocookie.com, player.vimeo.com) loads in the lightbox when a visitor opens the video. YouTube Terms, Google Privacy, Vimeo Terms, Vimeo Privacy.
  • RSS / Atom feeds — an RSS feed item reads the feed address you entered, from your server; its pictures are loaded from that site by the visitor’s browser.
  • Google Fonts — only when you type a Google font name in a gallery’s Style settings: the visitor’s browser loads the font from fonts.googleapis.com. Privacy. Switch it off with the pgrb_load_google_fonts filter.
  • Sharing buttons in the lightbox are plain links: nothing is sent until a visitor clicks one, and then the browser opens Facebook, X, Pinterest, LinkedIn, WhatsApp, Telegram or the email app with the photo’s address.
  • WordPress.org — the Protect tab installs our companion plugins from the WordPress.org plugin directory when you click its button.

The Pro key adds Instagram (Meta), Vimeo, Flickr, Unsplash, Dribbble and Twitch feeds, and payments through Stripe and PayPal: see Social feeds and Selling photos.

FAQ

I used version 1. Is my widget still there?

Yes. The widget keeps its images and columns and now shows them with the new gallery and lightbox. It can also show one of your new galleries.

Does the gallery load Google Fonts?

Only when you type a Google font name in the Style settings. Leave the font empty to use your theme’s font. Developers can switch the request off with the pgrb_load_google_fonts filter.

Are my galleries deleted when I delete the plugin?

No. Galleries stay in the database. Add define( 'PGRB_DELETE_DATA', true ); to wp-config.php before deleting the plugin to remove them too.

Can I add another content source?

Yes: extend PGRB_Source and register it on the pgrb_register_sources action with PGRB_Sources::register(). Items can also be changed with the pgrb_items filter; every item has the same shape whatever its source. See the developer notes.

Why does Instagram need a business or creator account?

Meta closed the Instagram API for personal accounts in December 2024. Switching an account to “creator” is free and takes a minute in the Instagram app.

Where is the documentation?

At rbplugins.com/docs/photo-gallery-rb: managing images, layouts, style and hover effects, the lightbox, publishing, social feeds, protection, selling and proofing.

Screenshots

Changelog

2.0.0

  • Rebuilt from scratch: new gallery editor with drag & drop upload, reordering, multi-select and bulk editing of title, caption, description, alt, link and tags
  • New layouts: grid, masonry, justified, tiles, slider (slide / fade / coverflow)
  • 25 hover effects, 3D tilt, appear animations
  • New lightbox: slideshow, video, zoom, swipe, thumbnails, sharing, EXIF, fullscreen, download, deep links
  • EXIF and IPTC support; keywords become tags
  • Tag filters, load more, infinite scroll, page numbers
  • Gutenberg block, Elementor widget, Divi module, shortcode
  • Shadow DOM: galleries are isolated from theme styles
  • Social feeds: YouTube and RSS; Instagram, Vimeo, Flickr, Unsplash, Dribbble and Twitch with Pro
  • Protect tab: Disable Right Click RB and Robo Watermark in one click
  • Pro: selling (WooCommerce, Stripe, PayPal) with protected downloads and private originals, client proofing
  • The version 1 widget keeps working with the new gallery

1.0.12

  • Photo gallery tested on WordPress 6.8

1.0.11

  • Photo gallery tested on WordPress 6.7