You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spfx/image-helper-api.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Image Helper API
3
3
description: Learn how to use the Image Helper API in the SharePoint Framework to provide web-friendly optimized image links.
4
-
ms.date: 02/08/2022
4
+
ms.date: 02/25/2022
5
5
ms.prod: sharepoint
6
6
ms.localizationpriority: high
7
7
---
@@ -16,8 +16,8 @@ The helper method `ImageHelper.convertToImageUrl()` takes a Url to an asset on S
16
16
17
17
The resulting Url will point to an image that is close to the requested size. The resulting Url will also include using other SharePoint media and graph services. If available for the requested asset, public or private CDN locations to serve the resized images and thumbnails.
18
18
19
-
> [!IMPORTANT]
20
-
> The Image Helper API was introduced in the SharePoint Framework v1.14 release.
19
+
> [!NOTE]
20
+
> The Image Helper API was introduced in the SharePoint Framework v1.14 release as a developer preview feature.
1. In the project's **package.json** file, identify all SPFx v1.13.1 packages. For each SPFx package:
@@ -152,18 +151,10 @@ empty group header being displayed.
152
151
The default value of `isGroupNameHidden` is false.
153
152
154
153
#### ipAddress Property in serve.json
154
+
155
155
New property `ipAddress` has been added to `serve.json` configuration. This parameter is helpful when using Docker containers. For example, to set the serve host as '0.0.0.0'.
156
156
This property will be explicitly used to wind up the server, meaning all debug URLs and webpack configurations will not be affected.
157
157
158
-
#### Image Helper API
159
-
160
-
The **ImageHelper** static class (in @microsoft/sp-image-helper) has been added to allow SPFx developers runtime access to:
161
-
162
-
- Urls of auto-generated thumbnail images of pages and documents stored in SharePoint
163
-
- More optimized Urls to images stored in SharePoint
Following features are still in preview status as part of the 1.14 release and should not be used in production. We are looking into releasing them officially as part of the upcoming 1.15 release.
@@ -300,6 +291,14 @@ The Select Media Action can be used to select Images from your native device. In
300
291
301
292

302
293
294
+
#### Image Helper API
295
+
296
+
The **ImageHelper** static class (in @microsoft/sp-image-helper) has been added to allow SPFx developers runtime access to:
297
+
298
+
- Urls of auto-generated thumbnail images of pages and documents stored in SharePoint
299
+
- More optimized Urls to images stored in SharePoint
0 commit comments