IMAGE Block

Choose a tool for developing with an AI agent:

  • use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
  • use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation

The IMAGE block displays one or more images within an attachment.

IMAGE Block

Block Parameters

Name
type

Description

LINK*
string

URL of the original image

NAME
string

Name of the image

PREVIEW
string

URL of the thumbnail version of the image. If not specified, the LINK will be used for preview. It is recommended to specify this explicitly for stable display across different clients

WIDTH
integer

Width of the image in pixels. It is recommended to provide this along with HEIGHT

HEIGHT
integer

Height of the image in pixels. It is recommended to provide this along with WIDTH

Example

How to Use Examples in Documentation

{
            IMAGE: [
                {
                    NAME: 'This is Mantis',
                    LINK: 'https://files.shelenkov.com/bitrix/images/mantis.jpg',
                    PREVIEW: 'https://files.shelenkov.com/bitrix/images/mantis.jpg',
                    WIDTH: 1000,
                    HEIGHT: 638
                }
            ]
        }
        
attach = {
            "IMAGE": [
                {
                    "NAME": "This is Mantis",
                    "LINK": "https://files.shelenkov.com/bitrix/images/mantis.jpg",
                    "PREVIEW": "https://files.shelenkov.com/bitrix/images/mantis.jpg",
                    "WIDTH": 1000,
                    "HEIGHT": 638,
                },
            ],
        }
        
[
            'IMAGE' => [
                [
                    'NAME' => 'This is Mantis',
                    'LINK' => 'https://files.shelenkov.com/bitrix/images/mantis.jpg',
                    'PREVIEW' => 'https://files.shelenkov.com/bitrix/images/mantis.jpg',
                    'WIDTH' => 1000,
                    'HEIGHT' => 638
                ]
            ]
        ]
        

Continue Learning