XtGem tags and tools
downloading
Creating download links
Notes
A link to a file may do any of the following
- View the file
- Play the file in the users default application
- Redirect to xtgems intersistal download page
- download the file
Exactly what happens depends on the device the file type and your settings in Additional features
Example links
Forced download
There is a special url variable __xt_download=1
that is used to force a file That would normally open in the default application to download
Note: This forced download variable will only work for files actually hosted on your XtGem site
It will have no effect on text or HTML based files or files that trigger the intersistal download page
Forced download example
<a href="/my_files/sample.png?__xt_download=1">Sample</a>
Test image
Related