Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp component base.iserializedserverprocesseddata.imagesources

John Nguyen edited this page Aug 19, 2021 · 1 revision

Home > @microsoft/sp-component-base > ISerializedServerProcessedData > imageSources

ISerializedServerProcessedData.imageSources property

A key-value map where keys are string identifiers and values are image sources.

Signature:

imageSources?: {
        [key: string]: string;
    };

Remarks

SharePoint servers treat the values as image sources and run services like search index and link fixup on them.

Example:

{
  'myImage1': 'http://res.contoso.com/path/to/file'
  'myImage2': 'https://res.contoso.com/someName.jpg'
}

Clone this wiki locally