FooGallery
Upload FooGallery thumbnails to cloud storage and serve them through your CDN or Imgix.
FooGallery generates its own cached thumbnails with WP Thumb. The Media Cloud integration uploads those thumbnails to cloud storage, records the cloud URL on the attachment, and rewrites the thumbnails FooGallery renders.
Settings
Find these under Media Cloud → Settings → Integrations → FooGallery.
| Setting | Default | Description |
|---|---|---|
| Upload Path | Empty | Prefix for uploaded gallery thumbnails. Supports the same path tokens as the storage tool. Leave blank to keep FooGallery’s default path. |
| Live Migrations | On | Migrates thumbnails for galleries created before Media Cloud was activated the first time the gallery is viewed. |
How thumbnails are handled
- When FooGallery creates a cached thumbnail, Media Cloud uploads it to cloud storage.
- The cloud URL is stored in the attachment’s
mcloud_foo_thumbsmetadata and reused on later requests. - With Imgix enabled, thumbnail URLs are served through Imgix like other image sizes.
Migrating existing galleries
FooGallery only creates a thumbnail when it is first requested. For galleries that existed before Media Cloud:
- Leave Live Migrations enabled.
- Visit each gallery page once with page caching disabled.
- The first request generates and uploads the thumbnails. Later requests use the cloud URLs.
The first view of an unmigrated gallery is slower because Media Cloud has to generate and upload those thumbnails. There is no bulk migration tool for FooGallery thumbnails.
Requirements
- Cloud Storage must be enabled.
- The web server needs enough temporary disk space for WP Thumb to create the cached thumbnail before it is uploaded.
- For custom upload paths, see the path tokens in Upload Handling Settings.
Need a hand with this guide?
Send support the exact step you’re stuck on and we’ll help you finish the setup.