Embed
Embed a ZoomHub image on your website with the following HTML code:
<script src="%SNOWPACK_PUBLIC_WEB_BASE_URI%/{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.
Example: curl
> curl --location '%SNOWPACK_PUBLIC_API_BASE_URI%/v1/content?url={url}&email={email}' { "id":"{id}", "url": "{url}", "shareUrl": "%SNOWPACK_PUBLIC_WEB_BASE_URI%/{id}", "embedHtml":"<script src=\"%SNOWPACK_PUBLIC_WEB_BASE_URI%/{id}.js?width=auto&height=400px\"></script>", "dzi": null, "ready":false, "progress": 0, "failed": false, "verified": false }