-
Notifications
You must be signed in to change notification settings - Fork 424
fix(storage-resize-images): ensure content type is always available #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
|
With what GitHub Issue is this PR associated? Could it please be added to the PR description? |
|
@rachelsaunders added it in, cross linked it from the issue rather than the PR. |
storage-resize-images/POSTINSTALL.md
Outdated
| 1. Go to your [Storage dashboard](https://console.firebase.google.com/project/${param:PROJECT_ID}/storage). | ||
|
|
||
| 1. Upload an image file to the bucket: `${param:IMG_BUCKET}` | ||
| 1. Upload an image file to the bucket: `${param:IMG_BUCKET}`. The file must have a valid [image MIME Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#Image_types), for example `image/png`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a really common case that a dev might not have the image MIME type specified? If not, then I wouldn't put this level of detail here in this uber quickstart section. Instead, I'd like to explore putting some of these known gotchas within the "Using this extension" section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, agreed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved this "error" down in the POSTINSTALL file. Pls double-check that my change and additional text is correct? Thx!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping on this comment thread :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laurenzlong Are you ok with the changes?
…be specified This "error" isn't a common error, so a warning about it doesn't really belong in the uber quickstart section. But, it seems that we're collecting a few "be aware of this or that" items, so it's better if we collect these into a specific section of the instructions doc.
image/prefix.Fixes #175