Mautic Community Forums

Open PDF assests in a new window, indead of download

Hey, I am testing to use the asset functions to deliver the .pdf files and I have noticed that the link does not open in a new window as must contacts prefer, but are requested to download a the file into their computers.

You can do that already today if you add “?stream=1” to the download URL in case you are using a plain asset link in a website. But yes - if you are using the assetlink from e.g. a mail, a download will be initiated. The mechanism would need to add the above option to the decrypted PDF link.