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.

Default Image Sizes

On mobile devices image width will default to a maximum of 800px, on larger screens image width will default to a maximum of 1600 pixels.

Default Image Formats

Images will be returned in webp format if the user's device supports it, otherwise JPG images will be returned.

Dynamic Image Resizing

A class parameter "class" may be sent with the image request to request different image widths, supported values are:

  • small: 400px
  • medium: 800px
  • large: 1600px

For example, https://cdn.repliers.io/IMG-E7312496_1.jpg?class=small would return a 400px width image.

https://cdn.repliers.io/IMG-E7312496_1.jpg?class=medium would return a 800px width image.

https://cdn.repliers.io/IMG-E7312496_1.jpg?class=large would return a 1600px width image.