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
Configuration values (redact info where appropriate):
Resize Image, default settings
set Bucket to name of any other bucket that is not your default
Deployment location Description
us-central1
Cloud Storage bucket for images Description
[bucket-name]
Sizes of resized images Description
200x200
Cloud Storage path for resized images (Optional) Description
Parameter not set
Cache-Control header for resized images (Optional) Description
Parameter not set
Describe the problem
When an image is uploaded to the storage bucket using the Firestore Javascript client library (I didn't test it with other libraries), if the image doesn't have an extension (e.g .jpg) in its filename, the name of the resized image is just "_200x200". It is missing the actual original filename. If multiple images are uploaded, each resized image overwrites the previous one because they all have the exact same "_200x200" as the filename.
Steps to reproduce:
1 - Setup Resize Images Firebase Extension using standard config settings.
2 - Use the Firebase Javascript library to upload an image with a filename that does not contain an extension (e.g. "uploaded_file") to the Firebase storage bucket.
Expected result
The filename of the resized image should contain the original filename with the size appended to the name.
Actual result
The filename of the resized image is just the file size without the original filename
The text was updated successfully, but these errors were encountered:
Resize Image, default settings
set Bucket to name of any other bucket that is not your default
Deployment location Description
us-central1
Cloud Storage bucket for images Description
[bucket-name]
Sizes of resized images Description
200x200
Cloud Storage path for resized images (Optional) Description
Parameter not set
Cache-Control header for resized images (Optional) Description
Parameter not set
Describe the problem
When an image is uploaded to the storage bucket using the Firestore Javascript client library (I didn't test it with other libraries), if the image doesn't have an extension (e.g .jpg) in its filename, the name of the resized image is just "_200x200". It is missing the actual original filename. If multiple images are uploaded, each resized image overwrites the previous one because they all have the exact same "_200x200" as the filename.
Steps to reproduce:
1 - Setup Resize Images Firebase Extension using standard config settings.
2 - Use the Firebase Javascript library to upload an image with a filename that does not contain an extension (e.g. "uploaded_file") to the Firebase storage bucket.
Expected result
The filename of the resized image should contain the original filename with the size appended to the name.
Actual result
The filename of the resized image is just the file size without the original filename
The text was updated successfully, but these errors were encountered: