CDN

Listings for which images are available will contain an "images" object. The value of the image should be prefixed with "https://cdn.repliers.io", for example "https://cdn.repliers.io/area/IMG-123456.jpg".

Authorization

In order to embed images at scale your website's url will have to be whitelisted. If you're building an app a custom user-agent can be created for authorization purposes as well.

Dynamic Image Resizing

A width parameter "w" may be sent with the image request with a desired value for pixels.

For example, https://cdn.repliers.io/area/IMG-123456.jpg?w=500 would return a 500 pixel image. Height would be adjusted proportionally.

Dynamic Image Formatting

A format parameter "f" may be sent with the image request with a desired value for format.

For example, https://cdn.repliers.io/area/IMG-123456.jpg?f=webp would convert the image to WEBP format.

If not specified the default format is JPG. Supported formats include WEBP, JPG and TIFF.

Image Timestamps & Versions

A timestamp parameter "t" may be sent with the image request. It's recommended that the value for timestamps.photosUpdated is used. Since our CDN caches image requests, using the timestamp parameter ensures that a prior version of the image isn't provided in the request.

For example, https://cdn.repliers.io/area/IMG-123456.jpg?t=2022-12-07T14:20:42.000Z

If not specified the default image that's provided would be the original version that was cached.