Skip to content

Commit e74ceb8

Browse files
authored
Update description for storage-resize-images (#91)
1 parent 4822fc8 commit e74ceb8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

storage-resize-images/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Resize Images
22

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.
44

55

66

@@ -42,7 +42,7 @@ When you use Firebase Extensions, you're only charged for the underlying resourc
4242

4343
* 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).
4444

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.
4646

4747

4848
* 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
6060

6161
**Cloud Functions:**
6262

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.
6464

6565

6666

storage-resize-images/extension.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ license: Apache-2.0
2020
displayName: Resize Images
2121

2222
description:
23-
Resizes images uploaded to Cloud Storage to a specified size. Original images can either be stored or deleted.
23+
Resizes images uploaded to Cloud Storage to a specified size, and optionally keeps or deletes the original image.
2424

2525
billingRequired: false
2626
sourceUrl: https://github.com/firebase/extensions/tree/master/storage-resize-images
@@ -51,10 +51,9 @@ roles:
5151
resources:
5252
- name: generateResizedImage
5353
type: firebaseextensions.v1beta.function
54-
description:
55-
Listens for new images uploaded to your specified Cloud Storage bucket,
56-
resizes the images, then stores both images in the same Cloud Storage
57-
bucket.
54+
description: >-
55+
Listens for new images uploaded to your specified Cloud Storage bucket, resizes the images,
56+
then stores the resized images in the same bucket. Optionally keeps or deletes the original images.
5857
properties:
5958
sourceDirectory: .
6059
location: ${LOCATION}
@@ -94,7 +93,8 @@ params:
9493
label: Cloud Storage bucket for images
9594
description: >
9695
To which Cloud Storage bucket will you upload images that you want to resize?
97-
Resized images will be stored in this bucket. Original images can either be stored or deleted.
96+
Resized images will be stored in this bucket. Depending on your extension configuration,
97+
original images are either kept or deleted.
9898
default: ${STORAGE_BUCKET}
9999
validationRegex: (.)+\.(.)+\.(.)+
100100
validationErrorMessage: Invalid storage bucket

0 commit comments

Comments
 (0)