I have a issue when I want upload photo to Google Cloud Storage (GCS), then I want get the photo link from Google Cloud Storage (GCS) . It will be must have access from Google Cloud Storage (GCS) . Do you know how to change public photo link from outsystems?
How I can get the link photo after I upload the photo to Google Cloud Storage (GCS) even though the photo in Google Cloud Storage (GCS) is not public. Because I try it before, for getting the link photo there is a problem if I open the link in browser.
this is example link photo after I upload to Google Cloud Storage (GCS) , then I get the link using assignment
https://www.googleapis.com/download/storage/v1/b/boss-gcp-storage/o/4CD42C58D998BB1BCFA8BB7E1ED2668E?generation=1674702777995581&alt=media
Hi Monifa,
Question not clear , could you please elaborate more about this
Thanks
Murugan SS
I have add the question
Google Drive? Here is an article on how to construct a publicly available url for images stored in google drive https://daily-dev-tips.com/posts/host-images-via-google-drive/
Stefan
Sorry, I mean Google Cloud Storage not Google Drive
https://cloud.google.com/storage/docs/access-control/making-data-public
If I want public from outsystems, how the way? Even though in GCS is not public. I mean, Can I setting public if I assignment in outsystems?
The easiest way to do is to download the Binary from Google Storage and instead of using the link you use the Binary Data to display the image. You cannot use the link returned by Google Storage as it is just a reference link and does not contain authorization data.