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: storage-resize-images/README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Resize Images
2
2
3
-
**Description**: Resizes images uploaded to Cloud Storage to a specified size. Original images can either be stored or deleted.
3
+
**Description**: Resizes images uploaded to Cloud Storage to a specified size, and optionally keeps or deletes the original image.
4
4
5
5
6
6
@@ -42,7 +42,7 @@ When you use Firebase Extensions, you're only charged for the underlying resourc
42
42
43
43
* Deployment location: Where should the extension be deployed? You usually want a location close to your Storage bucket. For help selecting a location, refer to the [location selection guide](https://firebase.google.com/docs/functions/locations).
44
44
45
-
* Cloud Storage bucket for images: To which Cloud Storage bucket will you upload images that you want to resize? Resized images will be stored in this bucket. Original images can either be stored or deleted.
45
+
* Cloud Storage bucket for images: To which Cloud Storage bucket will you upload images that you want to resize? Resized images will be stored in this bucket. Depending on your extension configuration, original images are either kept or deleted.
46
46
47
47
48
48
* Sizes of resized images: What sizes of images would you like (in pixels)? Enter the sizes as a comma-separated list of WIDTHxHEIGHT values. Learn more about [how this parameter works](https://firebase.google.com/products/extensions/storage-resize-images).
@@ -60,7 +60,7 @@ When you use Firebase Extensions, you're only charged for the underlying resourc
60
60
61
61
**Cloud Functions:**
62
62
63
-
***generateResizedImage:** Listens for new images uploaded to your specified Cloud Storage bucket, resizes the images, then stores both images in the same Cloud Storage bucket.
63
+
***generateResizedImage:** Listens for new images uploaded to your specified Cloud Storage bucket, resizes the images, then stores the resized images in the same bucket. Optionally keeps or deletes the original images.
0 commit comments