Pixboost
Search…
Custom Domain Name
If you have custom domain name setup then you can pass domain to the script tag using data-domain attribute:
1
<script type="text/javascript" src="https://pixboost.com/libs/pixboost.js"
2
id="pb-script"
3
data-api-key="API_KEY"
4
data-domain="static.yoursite.com"
5
data-autoload></script>
Copied!
Or you can pass it to a picture() call:
1
window.Pixboost.picture({apiKey: 'API_KEY', domain: 'static.yoursite.com'})
Copied!
Copy link