Files are typically downloaded. I can see this is controlled in src/FileViewer.php:
$download = Get("download", "1") == "1"; // Download by default
How can I set the download url to force inline content disposition?
Thanks.
Files are typically downloaded. I can see this is controlled in src/FileViewer.php:
$download = Get("download", "1") == "1"; // Download by default
How can I set the download url to force inline content disposition?
Thanks.
As you see from the code, you may pass download=0
in query string.