Show promotional image

This parameter allows you to display a promotional image

Implementation



Available parameters

Parameter lib

Parameter Web

Description

promoImageUrl

promoImageUrl

Send the url of the image to promote (optional)
By default nothing is shown. The image is resized to fit, but we recommend that it be at least 500x500 pixels.

Code

<!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/chat.js"></script>
<script>
    const params = {
        job: "myJob",
        token: "myToken",
        container: "#instaleap-lsw-v3",
        promoImageUrl: "image-url"
    }
    window.instaleap.chat.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/chat?job=myJoB&token=myToken&promoImageUrl=image-url

Demo


🤓

NOTE: Please do not modify the Demo, this is a visual aid.