Embed

Embed a ZoomHub image on your website with the following HTML code:

<script src="https://zoomhub.net/{id}.js?width=auto&height=400px"></script>

Replace {id} with the ID in the email you received from us. You can customize the width and height of the embed.


API

ZoomHub has a REST API that lets you easily convert all your images programmatically.

We currently require a valid email to prevent abuse. If you need to convert a large number of images, please request high volume access.

ZoomHub API reference

Example: curl

> curl --include --location 'https://api.zoomhub.net/v1/content?url={url}&email={email}'

HTTP/1.1 301 Moved Permanently
Server: nginx/1.20.0
Date: Fri, 13 Aug 2021 16:20:00 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Location: https://api.zoomhub.net/v1/content/{id}

HTTP/1.1 200 OK
Server: nginx/1.20.0
Date: Fri, 13 Aug 2021 16:20:00 GMT
Content-Type: application/json;charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive

{
  "id":"{id}",
  "url": "{url}",
  "shareUrl": "https://zoomhub.net/{id}",
  "embedHtml":"<script src=\"https://zoomhub.net/{id}.js?width=auto&height=400px\"></script>",
  "dzi": null,
  "ready":false,
  "progress": 0,
  "failed": false,
  "verified": false
}