Hey @agaitan026!
There's a good post here that walks through a couple of different methods for displaying S3 images.
How are you trying to display the image? And what happens when you try to display the image? Are there any errors in your browser console?
1 Like
getting this
im using the s3 component in my form
when i put
private in ACL it doesnt works, but if i put public it works, but my idea is not to have those images public to save bandwidth
I see, I would recommend trying option 3) Generating a signed URL from the linked post. The signed URL should work even if the image is private and you can generate one from Retool's S3 integration. Can you let me know if that works? Otherwise it might be worth trying option 1) as well.
1 Like
at the end by using public-read it works good, but just asking if theres any way to avoid that as the images will not be public, just for my retool app. My app flow is like this:
- create a product
- upload image in that form
- have a modal to view the image uploaded
- a modal to edit product (still looking how create something to replace image too)
yes but,
- i got a button like this
when i upload image that works good, but when i view image how i can integrate that option #3?
this is my view modal as image is not public, i cant see it, i like that flow because i can auto generate filenames of images, not sure if with option #3 i can do that
I use the option 3, and used two columns url signed and name of image (to generate signed url) works very good
Thank you