You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: parameters/dl.md
+50-10Lines changed: 50 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,28 +5,68 @@ permalink: /parameters/dl/
5
5
parent: Parameters
6
6
nav_order: 4
7
7
description: >-
8
-
Use the dl query parameter to make the image downloadable.
8
+
Use the dl query parameter to make images downloadable directly from the browser.
9
9
---
10
-
# Using dl - download image
10
+
11
+
# Download Parameter (dl)
11
12
{: .no_toc }
12
13
{: .fs-9 }
13
14
14
-
Learn how to make your image url downloadable
15
+
Make your images downloadable with a simple URL parameter
15
16
{: .fs-6 .fw-300 }
16
17
17
18
<hr>
18
19
19
-
## How it works
20
+
Table of contents
21
+
{: .text-delta }
22
+
- TOC
23
+
{:toc}
24
+
25
+
<hr>
26
+
27
+
## Overview
28
+
29
+
The `dl` parameter allows you to control whether an image is displayed in the browser or downloaded automatically. When enabled, the browser will prompt the user to download the image instead of displaying it.
30
+
31
+
## Usage
32
+
33
+
Add `?dl=1` to any HCTI.io image URL to make it downloadable:
{% include hint.md title="File Format Tip" text="The dl parameter works with all supported formats (jpg, png, webp). The downloaded file will maintain the extension specified in the URL." %}
0 commit comments