Lolly Beta
Launch App

ManageShared assets and provider connections

Image Relay integration with Lolly (kind: imagerelay)

Note: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Lolly Work instance. The packaged console keeps its release-matched copy of this guide.

Connect an Image Relay DAM and its files appear in the Lolly Work catalog for the groups you choose, with an expiry date if you keep one in a custom field. Image Relay stays the source: Lolly Work reads through an app you register and never writes back.

Canto acquired Image Relay in September 2024. If your tenant has moved to Canto, use the Canto source. If you are not sure which applies, read Off-boarding first.

Onboarding

  1. Scope. Confirm that the tenant still uses Image Relay's API. Select a curated folder and Lolly Work groups.
  2. Connection. Register your app, obtain the sealed OAuth credential described below and follow the four-step connection. Map your expiry field if you use one.
  3. Tenant check. Run the Image Relay tenant check, compare required originals and test group access and expiry in a real Lolly task before expanding the source.
Note: Not yet confirmed live

The driver is not yet confirmed against a live tenant. The endpoints and field names come from Image Relay's documentation. Check a source on your own tenant lists what to look at. Contributors changing the driver follow its maintainer runbook in the Lolly Work repository.

What you need from Image Relay

Credential shape

One sealed OAuth credential, pasted rather than captured:

{ "clientId": "…", "clientSecret": "…", "refreshToken": "…" }
lw providers credential acme-imagerelay   # prompts for the JSON; never argv, never shell history

Get the refresh token by running Image Relay's own documented OAuth2 authorization-code flow once by hand against your app. lw providers auth refuses this kind; see OAuth sources.

instance.json / lw providers add

{
  "id": "acme-imagerelay",
  "kind": "imagerelay",
  "label": "Acme Image Relay",
  "options": { "folderId": "1234", "recursive": true },
  "mapping": { "availabilityFields": { "until": "Expiry Date" } },
  "exposure": { "groups": ["marketing"] }
}
Warning: Image Relay sends no approval signal

Leave exposure.requireApproved off. With it on, nothing federates.

Verify

lw providers preview --kind imagerelay --options '{"folderId":"1234"}'   # dry run, nothing stored
lw providers health acme-imagerelay
What each error means
ErrorMeaning
oauth token refresh failed (401)The client id, secret or refresh token is wrong, or the grant was revoked. Capture the credential again.
oauth token refresh failed (400)The token endpoint refuses the request format. A new credential cannot fix this; report it with the tenant check.
imagerelay api 401The token exchange worked; the tenant refused the access token.
imagerelay url outside allowed hostsA baseUrl or tokenUrl override, or a download link, points outside imagerelay.com.

Notes / limits

Off-boarding

Choose the exit driver by the API serving your tenant: imagerelay for the legacy tenant and canto after a move to Canto. When both remain active, inventory both sets and reconcile overlap; materialization is idempotent within a provider, not a promise to deduplicate two providers.

Use the self-hosting strategy with S3 storage, then follow Leave a DAM for materialize, drift and cutover. Preserve the mapped expiry dates and separately export required approval, rights and history records. Confirm field names and original fidelity on your own tenant before fixing a cutover date.

Compare offboarding destinations, starting with open-source services you can run. Each route remains subject to this source's limits.