From 369cd25a3dca4b54a3a8a332a11a55f7034f12c6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 3 May 2015 15:01:17 +0200 Subject: Expose /file/thumbnail/ on front page Signed-off-by: Florian Pritz --- application/views/file/upload_form.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application/views/file') 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 @@
/<ID>/rmd
convert markdown to HTML
/<ID>/ascii
convert text with ANSI (shell) escape codes to HTML
/<ID>/info
display some information about the ID
+
/file/thumbnail/<ID>
return a JPEG thumbnail for the ID (only work for some file types)
-

If your upload is not detected as text, only /<ID>/qr, /<ID>/plain and /<ID>/info will work as above and all others will simply return the file with the detected MIME type.

+

If your upload is not detected as text, only /<ID>/qr, /<ID>/plain, /<ID>/info and /file/thumbnail/<ID> will work as above and all others will simply return the file with the detected MIME type.

How to link your multipastes:

Multipaste IDs begin with m- and only support the following features.

-- cgit v1.2.3-24-g4f1b