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

sp image helper.imagehelper

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

Home > @microsoft/sp-image-helper > ImageHelper

ImageHelper class

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

Methods

Method Modifiers Description
convertToImageUrl(request) static (BETA) Convert a url to a file or page on SharePoint into an optimized image url.
Clone this wiki locally