WordPress Google Drive Gallery: How to Show Drive Photos on Your Site


Your photos are already in Google Drive: there's no reason to upload them twice.
Here's how to turn a Drive folder into a responsive WordPress gallery that updates itself when you add new photos.

Photos from a Google Drive folder displayed as a responsive gallery on a WordPress website

Quick answer: WordPress can't read Google Drive on its own, and an embedded Drive folder looks like a file list, not a gallery. With Global Gallery you:

  1. share a Drive folder with "Anyone with the link": each subfolder is an album
  2. paste the folder link in Global Gallery, with no Google sign-in
  3. create a gallery, pick the album and enable auto population: new photos added to Drive appear on the site by themselves

Why use Google Drive as a gallery source

For many people Google Drive is where photos already live: the phone backs them up, clients share folders, the team drops event shots in a shared drive. Re-uploading everything to the WordPress Media Library means:

  • double work every time there are new photos
  • two copies to keep aligned, and the site always a step behind
  • a heavier site: hundreds of full-size images on your hosting and in your backups

Using Drive as the source solves all three: you manage photos where you already do, and the website follows.

4 ways to show Drive photos in WordPress, compared

Looks like a galleryUpdates by itselfOther sources
Embedded Drive folder (iframe)No, it's a file listYesNo
Download and re-upload to the Media LibraryYesNo, manual every timeNo
Drive-only gallery pluginsYes, with basic layoutsYesNo, Drive only
Global GalleryYes, 4 layouts + lightboxYes, with cacheDropbox, Amazon S3, Flickr, Media Library and more

The last column matters more than it seems. Today it's Drive, tomorrow a client sends a Dropbox link or you want a gallery from your blog posts: with Global Gallery every gallery looks and works the same, whatever the source. If you're coming from another gallery plugin, see how it compares with NextGEN Gallery and Envira Gallery.

What you need

Step 1: prepare your Drive folders

  1. Create a main folder for your galleries, with any name and anywhere in your Drive, for example "Website galleries"
  2. Inside it, create one subfolder per album, for example "Wedding Smith", "Kitchen projects", "Team 2026"
  3. Put the photos directly inside each album folder. Supported formats are JPG, PNG, GIF, WebP and AVIF
  4. Share the main folder: in General access choose Anyone with the link, then click Copy link

Two tips that save time later:

  • File names become titles. "IMG_4032.jpg" isn't a great caption, so rename the photos you'll show with titles
  • Drive descriptions become image descriptions. Add them in Drive (file details) and they'll show up in the gallery
Google Drive main folder shared with anyone with the link, containing one subfolder for each gallery album
The shared main folder: each subfolder is an album

Step 2: connect Google Drive

  1. In WordPress go to Global Gallery โ†’ Add New Gallery and give it a title
  2. In the Main images source box, select Google Drive
  3. Click manage connections, then add connection
  4. Fill in a Connection Name, just a label for you
  5. Paste the folder link in Shared folder public link
  6. Click Submit. Global Gallery checks the link right away: if the folder isn't shared publicly, it tells you

That's all: no Google sign-in, no permissions to grant, no token to copy. Global Gallery never accesses your Google account, it only reads the folder you shared. Every future gallery reuses the same connection, and each of its subfolders is ready to become a gallery.

  1. Choose your connection in Choose connection and click Connect
  2. Under Images Source, pick the album in Choose an album: the list shows the subfolders of your shared folder
  3. Select the photos you want, or use Select all, then click Add to Gallery. Use the search field to find photos by name or description in large folders
  4. In the Gallery Builder, drag photos to sort them, and set title, description, tags and link for each one. The bulk options do it for many photos at once
  5. Click Publish

This is the "manual" mode: you decide which photos are shown, in which order and with which texts.

See it before you buy: start your free 7-day trial and connect your own Drive folder in a minute. If it's not what you need, you've lost nothing.

Step 4: keep it in sync automatically

If you'd rather not touch WordPress when photos change, turn on Auto population? in the gallery's Auto Gallery Population box. The gallery then shows whatever is in the Drive folder:

  • Cache interval: how often Global Gallery checks Drive for changes, from 15 minutes to one week, or never
  • Max images: how many photos to show. It's 20 by default, so raise it for big folders
  • Display titles / descriptions / authors?: what to show from Drive's data. With Custom author you can set one name for all photos, for example your studio's
  • Random selection?: shows a random subset, nice for "best of" galleries on the homepage

The cache is what keeps the site fast: visitors don't wait for Google on every page view, and thumbnails are generated once and stored on your server.

Step 5: publish it

Add the gallery to any page:

  • Gutenberg: add the Gallery block from the Global Gallery category
  • Elementor: use the GG - Gallery widget. Divi, WPBakery and Cornerstone have their own modules too
  • Shortcode: [ g-gallery gid="123"], where 123 is the gallery ID

Use Go to gallery preview in the gallery editor to check it before placing it on a page.

Layouts, lightbox and watermark

A Drive gallery gets every Global Gallery feature, exactly like a Media Library gallery:

  • 4 layouts: Standard, Columnized, Masonry and PhotoString (justified rows)
  • Lightbox with full-size images, captions and social sharing
  • Watermark: add watermark="1" to the shortcode to brand every photo. Your Drive files stay untouched: Global Gallery creates watermarked copies on your server. Full guide: how to watermark images in WordPress
  • Tag filters, search and pagination for large galleries
  • Right click protection on gallery images, from the settings
  • Collections: group several Drive albums in one page, with filters to switch between them. See WordPress gallery with filter

Photos in Dropbox or Amazon S3 too? The same logic works with those sources: connect once, pick a folder, publish. Here's the WordPress Dropbox and Amazon S3 gallery guide.

A Drive album published with the photostring/justified layout
Can Global Gallery change or delete files in my Google Drive?

No. It never accesses your Google account: it only reads the folder you shared with a public link, and the rest of your Drive stays private.

Do I need to re-upload my photos to WordPress?

No. Photos stay in Drive. Global Gallery only stores the thumbnails it creates on your server, to keep the gallery fast.

What happens when I add photos to the Drive folder?

With auto population on, they appear on the site at the next cache refresh, which you choose from 15 minutes to one week. In manual mode, you add them to the gallery yourself, choosing which ones to show.

Can I use folders from different accounts or clients?

Yes. Each shared folder is a separate connection, whoever owns it, and every gallery can use a different one. That's handy for agencies: a client shares a Drive folder with a public link, and you can publish it without asking for their Google password or access.

I connected Drive with an older version of Global Gallery. What changes?

Galleries created with the previous method, based on a Google token, keep working and are marked as "discontinued method". For new galleries, and when you have a moment for the old ones, create a connection with the shared folder link and use the new Google Drive source.

Certified sales
1 K
4.6 / 5 stars on 350+ ratings
Rated 4.6 out of 5

Let's get in touch!

Features list