Script installation

Installing the script allows the Intercom Messenger to show large-size images in a popup modal.

Show image in popup modal

Script installation steps

Add the code below to every page which you want to able to show images from the articles on a popup modal. Copy and paste it before the </body> tag on each page.

(function(a,l,s,z,d){
  a._Alszdkk = [];
  a.Alszdk = function() {
    var n = Array.prototype.slice.call(arguments);
    a._Alszdkk.push(n);
  }
  a.alszdk_config={alszdk_id:"{{ALSZDK_ID}}"};
  z=l.getElementsByTagName('head')[0];
  d=l.createElement('script');d.async=1;
  d.src=s;
  z.appendChild(d);
})(window,document,'//assets.getalvis.com/alvis-intercom-zendesk.1.0.1.js');

Last updated