Reputation: 2314
I would like to use the Resize Images Extension in my Firebase app, but currently always get a 403
code if I want to display the images.
This is what I am currently doing in my Flutter app:
byteList
in Storage
getDownloadUrl
downloadUrl
in Firebase Firestore
And then I can simply display the images in my app via a Image.network(item.downloadUrl)
.
Problem:
I just tried to install the extension mentioned above. I configured it so it's replacing the old image with the resized one, and also I did not make the image public.
But now I am getting a permission denied 403
, when trying to display the images with the saved downloadUrl
.
Does the url change? Or maybe the token? How can I use the extension while still displaying the images with downloadUrl
?
Let me know if you need any more information!
Upvotes: 0
Views: 68
Reputation: 166
There are two options of the Extension that sound like they could cause this:
Make resized images public Do you want to make the resized images public automatically? So you can access them by URL.
Assign new access token Should resized images have a new access token assigned to them, different from the original image?
I would begin by ensuring Make resized images public
is TRUE
. If so, then I'd investigate if the new access token assignment is correctly configured.
Upvotes: 0