Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api_docs: Describe how to recognize thumbails.

Alex Vandiverd84ba0aba2c9
diff --git a/api_docs/message-formatting.md b/api_docs/message-formatting.md
index 2358ec7ee2a..61b802869ca 100644
--- a/api_docs/message-formatting.md
+++ b/api_docs/message-formatting.md
@@ -136,6 +136,10 @@ generate an image preview element with the following format:
</div>
```
+Clients can recognize if an image was thumbnailed by its `src`
+attribute starting with `/user_uploads/thumbnail/`. The `href` will
+always link to the originally-uploaded file.
+
**Changes**: See [Changes to image formatting](#changes-to-image-formatting).
### Image-loading placeholders