Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help: Update help center for new media upload syntax.
Alya Abbott886327b7953a
diff --git a/starlight_help/src/content/docs/share-and-upload-files.mdx b/starlight_help/src/content/docs/share-and-upload-files.mdxindex a5b652ed0b5..faef9c280d8 100644--- a/starlight_help/src/content/docs/share-and-upload-files.mdx+++ b/starlight_help/src/content/docs/share-and-upload-files.mdx@@ -7,6 +7,7 @@ import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";import ZulipIconCircle from "../../../../static/images/logo/zulip-icon-circle.svg";import FlattenedSteps from "../../components/FlattenedSteps.astro";import ZulipTip from "../../components/ZulipTip.astro";+import ImagesAndVideosIntro from "../include/_ImagesAndVideosIntro.mdx";import ModifyLinkText from "../include/_ModifyLinkText.mdx";import StartComposing from "../include/_StartComposing.mdx";@@ -14,25 +15,22 @@ import AttachmentIcon from "~icons/zulip-icon/attachment";import MobileCameraIcon from "~icons/zulip-icon/mobile-camera";import MobileImageIcon from "~icons/zulip-icon/mobile-image";-Zulip supports attaching multiple files to messages, including images,-documents, sound, and video. You can edit the names of the files others see-after you [upload](#uploading-files) or-[share](#sharing-files-from-other-mobile-apps) them.+You can attach multiple files to messages, including images, documents, videos,+and sound files.-For images and videos, a small preview will be shown directly in the message, if-there are up to 24 attachments. People reading the message can click on the-preview to [view the full-size image or video](/help/view-images-and-videos).+<ImagesAndVideosIntro />## Uploading files+Images, videos and sound files you upload will be previewed directly in your+message. Other files will appear as named links for downloading. You can rename+files after uploading.+<Tabs><TabItem label="Via drag-and-drop"><FlattenedSteps>1. Drag and drop one or more files anywhere in the Zulip app,whether or not the compose box is open.- Zulip will upload the files, and insert named links using- [Markdown formatting](/help/format-your-message-using-markdown#links):- `[Link text](URL)`.<ModifyLinkText /></FlattenedSteps>@@ -48,9 +46,6 @@ preview to [view the full-size image or video](/help/view-images-and-videos).<StartComposing />1. Copy and paste one or more files into the compose box.- Zulip will upload the files, and insert named links using- [Markdown formatting](/help/format-your-message-using-markdown#links):- `[Link text](URL)`.<ModifyLinkText /></FlattenedSteps>@@ -67,9 +62,6 @@ preview to [view the full-size image or video](/help/view-images-and-videos).1. Click the **paperclip** (<AttachmentIcon />)icon at the bottom of the compose box to select one or more files.- Zulip will upload the files, and insert named links using- [Markdown formatting](/help/format-your-message-using-markdown#links):- `[Link text](URL)`.<ModifyLinkText /></FlattenedSteps>@@ -87,10 +79,7 @@ preview to [view the full-size image or video](/help/view-images-and-videos).**paperclip** (<AttachmentIcon />),**image** (<MobileImageIcon />),or **camera** (<MobileCameraIcon />)- button at the bottom of the app to select one or more files. Zulip will- upload the files, and insert named links using- [Markdown formatting](/help/format-your-message-using-markdown#links):- `[Link text](URL)`.+ button at the bottom of the app to select one or more files.<ModifyLinkText /></FlattenedSteps>@@ -138,18 +127,6 @@ When pasting a large amount of text, you can convert it to a text file upload.</TabItem></Tabs>-## Named file example--### What you type--```-[A whale of a good time](/user_uploads/1/46/IPvysqXEtiTG1ZdNBrwAZODi/whale-time.png)-```--### What it looks like---## File upload limitsThe Zulip Cloud Standard and Zulip Cloud Plusdiff --git a/starlight_help/src/content/docs/view-images-and-videos.mdx b/starlight_help/src/content/docs/view-images-and-videos.mdxindex 51a7f5ad868..b51931abbf4 100644--- a/starlight_help/src/content/docs/view-images-and-videos.mdx+++ b/starlight_help/src/content/docs/view-images-and-videos.mdx@@ -6,14 +6,15 @@ import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";import KeyboardTip from "../../components/KeyboardTip.astro";import ZulipTip from "../../components/ZulipTip.astro";+import ImagesAndVideosIntro from "../include/_ImagesAndVideosIntro.mdx";import CopyIcon from "~icons/zulip-icon/copy";-Zulip shows previews of attached images and videos, unless previews are-[disabled](/help/image-video-and-website-previews) in your organization.-You can click on a preview to view an image in more detail, or to play a-video. Zulip also makes it convenient to browse all images and videos-attached to messages in your current view.+<ImagesAndVideosIntro />++You'll also see previews of linked images and videos, unless they are+[disabled](/help/image-video-and-website-previews#configure-whether-image-and-video-previews-are-shown)+in your organization.## Use the image viewer@@ -30,11 +31,6 @@ attached to messages in your current view.1. Click anywhere outside the image to close the image viewer once you are done.</Steps>- <ZulipTip>- You can click on the file name to download an image rather than viewing it- in the Zulip app.- </ZulipTip>-<KeyboardTip>Use <kbd>V</kbd> to **open** the image viewer. Use <kbd>Shift</kbd> +<kbd>Z</kbd> and <kbd>Z</kbd> to zoom in and out of the image. Use@@ -44,7 +40,7 @@ attached to messages in your current view.<TabItem label="Mobile"><Steps>- 1. Tap an image preview or file name to open the **image viewer**.+ 1. Tap an image preview to open the **image viewer**.1. You can interact with the image.* Zoom in and out of the image* Pan the image if you are zoomed in@@ -73,11 +69,6 @@ attached to messages in your current view.1. Click anywhere outside the video to close the video player once you are done.</Steps>- <ZulipTip>- You can click on the file name to open the video in a new browser tab- rather than viewing it in the Zulip app.- </ZulipTip>-<KeyboardTip>Use <kbd>V</kbd> to **open** the video player.Use <kbd class="arrow-key">↑</kbd> and <kbd class="arrow-key">↓</kbd>diff --git a/starlight_help/src/content/include/_ImagesAndVideosIntro.mdx b/starlight_help/src/content/include/_ImagesAndVideosIntro.mdxnew file mode 100644index 00000000000..d00fb63ab1e--- /dev/null+++ b/starlight_help/src/content/include/_ImagesAndVideosIntro.mdx@@ -0,0 +1,6 @@+Zulip shows previews of attached images, videos, and audio files, and lets you+click on a preview to [view an image in more+detail](/help/view-images-and-videos#use-the-image-viewer) or [play a+video](/help/view-images-and-videos#use-the-video-player). You can+[browse](/help/view-images-and-videos#browse-images-and-videos) all images and+videos attached to messages in your current view in the image viewer.diff --git a/starlight_help/src/content/include/_ModifyLinkText.mdx b/starlight_help/src/content/include/_ModifyLinkText.mdxindex 1ba0de8e10f..10221941c31 100644--- a/starlight_help/src/content/include/_ModifyLinkText.mdx+++ b/starlight_help/src/content/include/_ModifyLinkText.mdx@@ -1,2 +1 @@-1. *(optional)* Modify the link text as desired. Link text will default to the- name of the uploaded file.+1. *(optional)* Modify the name of the uploaded file as desired.