To integrate imglab with JavaScript application (on backend or browser) you can use our JavaScript open source MIT licensed library.
This library allows you to easily generate imglab URLs, including signed URLs for secure sources.
For further instructions about how to integrate your JavaScript code with imglab please take a look to the README file of our GitHub repository.
Generating signatures in front-end JavaScript
Generating secured requests using signature
parameter requires the use of a secret secure key and secure salt.
Generating secured requests in the front is highly discouraged. By doing this you are exposing your secure key and salt and allowing malicious users to generate alternative requests with your images.
We strongly recommend only generating secured requests with signatures in your backend code.
Links