Here how can i display images stored in s3 where bucket is set as private in django
AWS_ACCESS_KEY_ID = 'XXX' AWS_SECRET_ACCESS_KEY = 'XXX' AWS_STORAGE_BUCKET_NAME = 'XXX' AWS_DEFAULT_ACL = None AWS_QUERYSTRING_AUTH = False DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage' MEDIA_URL = 'https://mybucket.s3.amazonaws.com/'
in my template
<img src="{{ logo.url }}"alt="p" >
But I am not able to display the image in the front end
2.1m questions
2.1m answers
60 comments
57.0k users