Image
The component sends an image to the user.
Give the image file a name in Latin letters, one word and no spaces. Otherwise the image may not load or display.
The maximum size of the uploaded image is 5 MB. But the smaller the size, the faster the picture is loaded, optimally — no more than 1 MB. The total width and height of the photo should not exceed 10000 pixels. The ratio of width and height should not be more than 20 to 1.
There are limits on the number of uploaded files (image, audio, document) per account:
- A trial plan allows to upload no more than 100 files of all types to all bots on the account. The total size of the files should not exceed 100 MB.
- On the Advanced plan, you can upload no more than 2500 files of all types to all bots.
- On the Professional plan, you can upload no more than 5000 files of all types to all bots.
In Telegram, the name of the image is displayed under the image itself. On other platforms, the name comes above the picture. Image title field can hold up to 1024 characters on all platforms, except Instagram, which supports 537 characters, if the text is larger, it will come abbreviated.
You can drag an image into a component from the screen of your device, select an image from the file system, or load a link to a file into the component.
There may be a variable in place of the file link. The main condition is that the variable value is a link to the file. This can be either last_request or an image sent by the user.
The link must contain a link to the image, such as follows:
https://cdn1.savepice.ru/uploads/2021/12/7/aabd80a92bd39d7c828cac07249435b3-full.png</a>.
Image settings for Telegram:
- Protect the content — it will not allow you to forward the image.
- Hide with the spoiler — the image comes with the spoiler and opens after the user clicks on it.
- Show the caption above the media file — the caption will be above the picture. Without a checkbox, the caption comes below the image.
- Unique identifier of the message effect — the animated effect you selected will come along with the image. You can select this effect from the drop-down list or manually register it as a numeric code.
You can specify the target platform or suspend the execution of the component.
For Facebook and Instagram, there is an option to specify the message tag that is used for newsletters on those platforms.