WordPress Dropbox Gallery: Dropbox and Amazon S3 Photos on Your Site


Your photos already live in the cloud: uploading them again to WordPress is wasted time and wasted space.
Here's how to turn a Dropbox folder or an Amazon S3 bucket into a responsive WordPress gallery, kept in sync automatically.

Photos from Dropbox and Amazon S3 folders shown as a gallery on a WordPress website

Quick answer: WordPress only shows images from its own Media Library. With Global Gallery you:

  1. connect Dropbox with your account, or Amazon S3 with the bucket name and region
  2. pick a folder: each folder is an album
  3. choose the photos or let the gallery follow the folder automatically, then publish it with a block, a widget or a shortcode

Why show cloud photos instead of uploading them

  • No double work: drop photos in a folder as you already do, and the website follows
  • A lighter site: hundreds of high-resolution photos don't weigh on your hosting space and backups
  • One place to manage them: clients, colleagues or your camera app can add photos to the folder without ever logging into WordPress

Dropbox or Amazon S3: which one fits you

DropboxAmazon S3
Best forPhotographers, agencies, small teamsLarge archives, developers, media companies
How you add photosDesktop app, phone, webAWS console, sync tools, scripts
ConnectionSign in with Dropbox onceBucket name and region
Privacy of the filesOnly photos in the gallery folders get a shared linkThe bucket must be publicly readable

Photos on Google Drive instead? There's a dedicated guide: how to create a WordPress Google Drive gallery. With Global Gallery every source works the same way, so you can mix them on the same site.

Part 1: create a Dropbox gallery

Step 1: prepare your Dropbox folders

  1. In the root of your Dropbox, create a folder named exactly globalgallery
  2. Inside it, create one subfolder per album, for example "Portraits 2026" or "Client Rossi"
  3. Put the photos directly inside each album folder. Supported formats are JPG, PNG, GIF, WebP and AVIF

You don't need to share anything by hand: Global Gallery creates the Dropbox shared links itself, only for the photos inside your globalgallery albums. File names become titles, so rename the ones you'll show with captions.

Step 2: connect Dropbox

  1. Go to Global Gallery โ†’ Add New Gallery, give it a title, and select Dropbox in Main images source
  2. Click manage connections, then add connection
  3. Fill in a Connection Name and a Dropbox Username, a label that identifies the account
  4. Click Get your Dropbox token, sign in to Dropbox and allow access. You land on a page of lcweb.it that shows your code in large type: copy it into Dropbox Token
  5. Click Submit

The connection renews itself in the background, so you connect once and every Dropbox gallery can reuse it. You can add more Dropbox accounts too, for example one per client.

Global Gallery connection form for Dropbox with Connection Name, Dropbox Username and Dropbox Token fields
Adding a Dropbox connection
  1. Select your connection in Choose connection and click Connect
  2. In Choose a folder, pick the album: the list shows the subfolders of globalgallery
  3. Select the photos, or click Select all, then Add to Gallery. The search field helps in big folders
  4. Sort them with drag and drop, add titles, descriptions, tags and links, then click Publish

Try it with your own Dropbox: start your free 7-day trial. Connecting takes a couple of minutes, and you'll see your folders right away.

Part 2: create an Amazon S3 gallery

Step 1: prepare the bucket

Global Gallery reads S3 without access keys, using the bucket's public address. So the bucket must allow anyone to list its content and read its files. Use a bucket dedicated to public images, never one with private data:

  1. In the AWS console, open the bucket and in Permissions turn off Block public access for this bucket
  2. Add a bucket policy that allows public listing and reading. Replace your-bucket with the bucket name:
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Principal": "*",
          "Action": ["s3:ListBucket"],
          "Resource": "arn:aws:s3:::your-bucket"
        },
        {
          "Effect": "Allow",
          "Principal": "*",
          "Action": ["s3:GetObject"],
          "Resource": "arn:aws:s3:::your-bucket/*"
        }
      ]
    }
  3. Create one folder per album at the top level of the bucket and upload the photos inside. Supported formats are JPG, PNG, GIF, WebP and AVIF

Step 2: connect the bucket

  1. In a new gallery, select Amazon AWS (S3) in Main images source
  2. Click manage connections, then add connection
  3. Fill in Connection Name, Bucket name and Bucket region, the region code shown in the AWS console, for example eu-west-1
  4. Click Submit. Global Gallery checks the bucket right away: if it can't find any folder, check the policy and the region

Select the connection, click Connect, pick the album in Choose Folder and add the photos exactly as in the Dropbox steps. Photos are loaded straight from the bucket, so you can put a CDN like CloudFront in front of it later without touching WordPress.

Keep galleries in sync automatically

For both sources, turn on Auto population? in the gallery's Auto Gallery Population box, and the gallery shows what's in the folder:

  • Cache interval: how often Global Gallery checks for new photos, from 15 minutes to one week, or never
  • Max images: 20 by default, raise it for bigger folders
  • Display titles?: shows file names as titles. With Custom author you can sign every photo with your name or studio
  • Random selection?: shows a random subset at every cache refresh

Thumbnails are generated once and stored on your server, so the gallery stays fast even with hundreds of cloud photos.

An auto-populated gallery from a Dropbox account
An auto-populated gallery from a Dropbox account

Publish and style your gallery

Add the gallery with the Gallery Gutenberg block, the GG - Gallery Elementor widget, the Divi, WPBakery and Cornerstone modules, or the shortcode [ g-gallery gid="123"]. Cloud galleries get every Global Gallery feature:

Frequently asked questions

Does Global Gallery make my whole Dropbox public?

No. It only reads the globalgallery folder and creates shared links for the photos in your albums. The rest of your Dropbox stays private.

Do I need AWS access keys for Amazon S3?

No. Global Gallery only needs the bucket name and region, because it reads the bucket's public listing. That's also why the bucket must be publicly readable: use one dedicated to the images you want to publish.

Can I use subfolders inside a gallery folder?

Each gallery shows the photos placed directly in its folder. For more levels, create more galleries and group them in a Galleries Collection with filters.

What happens if I delete a photo from the folder?

With auto population on, it disappears from the gallery at the next cache refresh. In manual mode, remove it from the gallery in the builder.

Can I use Dropbox, S3 and Google Drive on the same site?

Yes. Each gallery has its own source, and they all share the same layouts, lightbox and settings. You can even put galleries from different sources in the same Galleries Collection.

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

Let's get in touch!

Features list