diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-05-03 15:01:17 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-03 15:01:17 +0200 |
commit | 369cd25a3dca4b54a3a8a332a11a55f7034f12c6 (patch) | |
tree | 010e7c43451f8e347f577480188a44397e0d62e0 /application/views/file/upload_form.php | |
parent | 1f5a3f36b928b6abe21e498a1ee22c1d03efe28c (diff) |
Expose /file/thumbnail/ on front page
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r-- | application/views/file/upload_form.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index eb6bf64cb..f9f40475d 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -100,8 +100,9 @@ <dt>/<ID>/rmd</dt><dd>convert markdown to HTML</dd> <dt>/<ID>/ascii</dt><dd>convert text with ANSI (shell) escape codes to HTML</dd> <dt>/<ID>/info</dt><dd>display some information about the ID</dd> + <dt>/file/thumbnail/<ID></dt><dd>return a JPEG thumbnail for the ID (only work for some file types)</dd> </dl> - <p>If your upload is not detected as text, only <b>/<ID>/qr</b>, <b>/<ID>/plain</b> and <b>/<ID>/info</b> will work as above and all others will simply return the file with the detected MIME type.</p> + <p>If your upload is not detected as text, only <b>/<ID>/qr</b>, <b>/<ID>/plain</b>, <b>/<ID>/info</b> and <b>/file/thumbnail/<ID></b> will work as above and all others will simply return the file with the detected MIME type.</p> <h3>How to link your multipastes:</h3> <p>Multipaste IDs begin with <code>m-</code> and only support the following features.</p> <dl class="dl-horizontal"> |