sp image helper.imagehelper - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
Home > @microsoft/sp-image-helper > ImageHelper
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
ImageHelper exposes the ability to convert a SharePoint url to an optimized thumbnail url.
Signature:
export declare class ImageHelper| Method | Modifiers | Description |
|---|---|---|
| convertToImageUrl(request) | static |
(BETA) Convert a url to a file or page on SharePoint into an optimized image url. |