2017-01-14 22:54:36 +01:00
|
|
|
# Upload and share files
|
2016-12-01 05:32:18 +01:00
|
|
|
|
|
|
|
Zulip allows you to easily attach files, including images, sound, and video by:
|
|
|
|
|
2017-01-12 03:54:03 +01:00
|
|
|
- Clicking the paperclip (<i class="icon-vector-paperclip"></i>) icon located
|
|
|
|
under the message field.
|
|
|
|
- Dragging or dropping files into the compose box. The files are uploaded to a
|
|
|
|
server and a link is supplied, but a thumbnail is displayed if possible. The
|
|
|
|
link to the file will be in Markdown format: `[link_text](link_URL)`
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-04 13:54:53 +01:00
|
|
|
!!! tip ""
|
|
|
|
If you wish to give your image a caption or title, you may add text before
|
|
|
|
or after the generated link in your message.
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-05 23:35:54 +01:00
|
|
|
After submitting your message, you will see a clickable thumbnail if
|
2017-01-12 03:54:03 +01:00
|
|
|
your file is a common image type (i.e. PNG, JPEG, etc.); all other
|
2017-01-05 23:35:54 +01:00
|
|
|
files will simply have a link displayed.
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-14 22:54:36 +01:00
|
|
|
## Link Behavior
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-04 13:54:53 +01:00
|
|
|
Clicking all file links will open a new tab that will either:
|
2017-01-14 17:45:57 +01:00
|
|
|
|
2017-01-04 13:54:53 +01:00
|
|
|
- display the file if it is an image.
|
|
|
|
- download the file automatically to your computer.
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-04 13:54:53 +01:00
|
|
|
If the file has a thumbnail, clicking it will open a lightbox modal with
|
2017-01-14 17:45:57 +01:00
|
|
|
varying options depending on the media type. Images may be opened in new
|
|
|
|
tabs or downloaded, while videos from YouTube may only be opened (and not
|
|
|
|
downloaded).
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-04 13:54:53 +01:00
|
|
|
!!! tip ""
|
2017-01-12 03:54:03 +01:00
|
|
|
You can exit out of a lightbox by clicking the space around the media preview
|
|
|
|
or by clicking the x (<i class="icon-vector-remove"></i>) icon found in
|
|
|
|
the upper right-hand corner.
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-14 22:54:36 +01:00
|
|
|
## Sharing Files from External Websites
|
2016-12-01 05:32:18 +01:00
|
|
|
|
2017-01-05 23:35:54 +01:00
|
|
|
Images and videos shared from external websites, such as Imgur or
|
2017-01-12 03:54:03 +01:00
|
|
|
YouTube, may have previews generated as well. Clicking previews of
|
2017-01-05 23:35:54 +01:00
|
|
|
images/videos from external websites will lead to the same lightbox
|
|
|
|
behavior described above.
|