Code: Alles auswählen
<a href="document:344" download><img src="/img/download.png?id=422&time=1564128551" alt="" width="16" height="16"></a></li>
Code: Alles auswählen
<a href="document:344" download><img src="/img/download.png?id=422&time=1564128551" alt="" width="16" height="16"></a></li>
Code: Alles auswählen
<a href="document:344" download="broschuere.pdf"><img src="/img/download.png?id=422&time=1564128551" alt="" width="16" height="16"></a></li>
Das hatte ich befürchtet.
Code: Alles auswählen
<IfModule mod_headers.c>
<FilesMatch "\.(pdf)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
</IfModule>
Mitglieder in diesem Forum: Ahrefs [Bot], Google [Bot] und 6 Gäste