WYSIWYG editing Image gallery upload Content templates
Image Items List

Pre-populate the image URL insert dialog with a list of quick-access image entries using image-items-json.

@{
    var imageItemsJson = System.Text.Json.JsonSerializer.Serialize(new[]
    {
        new { name = "Microsoft Logo", url = "/images/microsoft.svg", thumbUrl = "/images/microsoft.svg" },
        new { name = "Intel Logo", url = "/images/Intel.svg", thumbUrl = "/images/Intel.svg" },
        new { name = "Sample Photo", url = "/images/sample-photo.jpg", thumbUrl = "/images/sample-photo.jpg" }
    });
}

<richtextbox
    name="imageItemsEditor"
    toolbar="default"
    height="300px"
    image-items-json="@imageItemsJson" />