Setup

Once your account is properly set up and your e-mail address validated, you are ready to start optimizing your images.

Script installation

First of all, add the following script to every page that will have optimized images just before the end of the </body> tag.

<script src="https://app.zmd.io/js/zmd-1.0.min.js"></script>
<script>
    ZMD.takeOff({
        key: 'YOUR_DOMAIN_KEY',
    });
</script>

Domain configuration

You will need to add your website domain to the list of authorized domains on your account, this ensures that only your websites will be able to use your account datas.

Let’s say your website full URL is: https://example.com, you will need to add example.com as authorized domain.