Using the Universal Version (Wordpress or Non-WordPress)
Using the Universal Version
Step 1
It's as simple as linking your website according to the Quick Start Guide, and selecting the Universal JavaScript option to generate your unique script.
Step 2
Copy the generated code snippet and paste it before the </head> tag on your website.
Step 3
That's it... once pasted you're all set with real-time image optimization and can remote manage the optimization settings from the Management Portal!
Advanced Scenarios
Setting up a Custom CDN CNAME
Simply point a CNAME from your hosting or DNS management panel towards your zapwp.com hostname.
Images not loading from CDN or duplicate loading of images
In order for us to intercept the images before they load, your images must have a data-src tag, rather than a src tag. This is due to browser prioritizations. While most sites use data-src by default for best practice with lazy loading, you'll need to change from src to data-src.
If you have specific questions on this please reach out and we'll be happy to help!
Updated on: 05/23/2022
Thank you!