Fortinet black logo

CLI Reference

system replacemsg-image

system replacemsg-image

Use this command to add, edit, or delete images to be used in HTTP replacement messages and for the SMIL parts of FortiOS Carrier replacement messages. Both image-base64 and image-type must be present for a valid entry.

config system replacemsg-image
    edit {name}
    # Configure replacement message images.
        set name {string}   Image name. size[23]
        set image-type {gif | jpg | tiff | png}   Image type.
                gif   GIF image.
                jpg   JPEG image.
                tiff  TIFF image.
                png   PNG image.
        set image-base64 {string}   Image data. size[32768]
    next
end

Additional information

The following section is for those options that require additional explanation.

image-base64 <image_data>

Enter the image in base64 encoding. You can also use the GUI to add images by browsing to their location.

system replacemsg-image

Use this command to add, edit, or delete images to be used in HTTP replacement messages and for the SMIL parts of FortiOS Carrier replacement messages. Both image-base64 and image-type must be present for a valid entry.

config system replacemsg-image
    edit {name}
    # Configure replacement message images.
        set name {string}   Image name. size[23]
        set image-type {gif | jpg | tiff | png}   Image type.
                gif   GIF image.
                jpg   JPEG image.
                tiff  TIFF image.
                png   PNG image.
        set image-base64 {string}   Image data. size[32768]
    next
end

Additional information

The following section is for those options that require additional explanation.

image-base64 <image_data>

Enter the image in base64 encoding. You can also use the GUI to add images by browsing to their location.