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

sp webpart base.iserializedserverprocesseddata.imagesources

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-webpart-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