boolean public static
\Bitrix\Main\UrlPreview\UrlPreview::setMetadataImage(
integer $id,
string $imageUrl
);
Static method sets image with specified ID, shown for rich link.
Parameters
Parameter | Description | Version |
$id | ID for image, shown for rich link. | |
$imageUrl | Image URL. | |
Exceptions
Example