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

sp image helper.iimagehelperrequest

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

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

IImageHelperRequest interface

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.

Interface for constructing a request to create an optimized image url from a file on SharePoint.

Signature:

export interface IImageHelperRequest

Properties

Property Type Description
height? number (BETA) (Optional) Optional height of the image requested
sourceUrl string (BETA) The url to the item to be retrieved as an image. This can be an absolute url or a relative url.
width number (BETA) Width of the image requested.
Clone this wiki locally