API Endpoints

Show promotional image

This parameter allows you to display a promotional image

Specific configuration parameters

ParameterDescription
promoImageUrlSend the url of the image to promote (optional)

By default nothing is shown

Usage Example

<!DOCTYPE html>
<head>
    <title>LSW v3 Embed</title>
</head>
<body>
    <div id="instaleap-lsw-v3"></div>
</body>

<script src="https://xandar-lsw-v3.instaleap.io/lib/lsw.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        promoImageUrl: "https://resource.flexclip.com/templates/cover/w400/vertical-glasses-product-promo.jpg"
    }
    window.instaleap.lsw.render(params)
</script>
</html>

You will see the following content