From 69ccc9288fb9b10b4dbc92cbe734315e7b9fa6b9 Mon Sep 17 00:00:00 2001 From: jsuar Date: Fri, 3 Jan 2025 21:38:28 -0500 Subject: [PATCH 1/2] Add note about image resizing for preview dimension requirements --- source/_integrations/slack.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_integrations/slack.markdown b/source/_integrations/slack.markdown index 046de9275af1..e1aacc21ceb8 100644 --- a/source/_integrations/slack.markdown +++ b/source/_integrations/slack.markdown @@ -193,6 +193,8 @@ data: url: "http://site.com/image.jpg" ``` +Note that if the image does not meet the [minimum dimension requirements for previews](https://api.slack.com/methods/files.remote.add#markdown:~:text=dimension%20requirements%20for%20previews%20are%20a%20minimum%20of%20800w%20x%20400h.), it will be resized automatically. + To send a file from remote path that is protected by HTTP Basic Auth: ```yaml From c0132e8c434b0191173f39965307423543c5b08f Mon Sep 17 00:00:00 2001 From: jsuar Date: Sat, 4 Jan 2025 12:38:26 -0500 Subject: [PATCH 2/2] Update source/_integrations/slack.markdown Co-authored-by: Franck Nijhof --- source/_integrations/slack.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_integrations/slack.markdown b/source/_integrations/slack.markdown index e1aacc21ceb8..dd0fe8bf1cbb 100644 --- a/source/_integrations/slack.markdown +++ b/source/_integrations/slack.markdown @@ -193,7 +193,9 @@ data: url: "http://site.com/image.jpg" ``` -Note that if the image does not meet the [minimum dimension requirements for previews](https://api.slack.com/methods/files.remote.add#markdown:~:text=dimension%20requirements%20for%20previews%20are%20a%20minimum%20of%20800w%20x%20400h.), it will be resized automatically. +{% note %} +If the image does not meet the [minimum dimension requirements for previews](https://api.slack.com/methods/files.remote.add#markdown:~:text=dimension%20requirements%20for%20previews%20are%20a%20minimum%20of%20800w%20x%20400h.), it will be resized automatically. +{% endnote %} To send a file from remote path that is protected by HTTP Basic Auth: