summaryrefslogtreecommitdiffstats
path: root/application/views/file/upload_form.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-05-03 15:01:17 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-03 15:01:17 +0200
commit369cd25a3dca4b54a3a8a332a11a55f7034f12c6 (patch)
tree010e7c43451f8e347f577480188a44397e0d62e0 /application/views/file/upload_form.php
parent1f5a3f36b928b6abe21e498a1ee22c1d03efe28c (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.php3
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>/&lt;ID&gt;/rmd</dt><dd>convert markdown to HTML</dd>
<dt>/&lt;ID&gt;/ascii</dt><dd>convert text with ANSI (shell) escape codes to HTML</dd>
<dt>/&lt;ID&gt;/info</dt><dd>display some information about the ID</dd>
+ <dt>/file/thumbnail/&lt;ID&gt;</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>/&lt;ID&gt;/qr</b>, <b>/&lt;ID&gt;/plain</b> and <b>/&lt;ID&gt;/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>/&lt;ID&gt;/qr</b>, <b>/&lt;ID&gt;/plain</b>, <b>/&lt;ID&gt;/info</b> and <b>/file/thumbnail/&lt;ID&gt;</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">