we use django-storages with the s3boto3 storage backend.
S3 is configured with AWS_DEFAULT_ACL = "private", with only MEDIA_ROOT/images|documents being exposed to the public.
Alt generation fails because image.file.url points to S3_URL/original_images/filename.ext (thus under ACL restrictions) whereas S3_URL/images/filename.original.ext (the rendition folder) works well. Note this the latter is also the URL seen on the edit page under "File".
we use django-storages with the
s3boto3
storage backend.S3 is configured with
AWS_DEFAULT_ACL = "private"
, with onlyMEDIA_ROOT
/images|documents being exposed to the public.Alt generation fails because
image.file.url
points toS3_URL/original_images/filename.ext
(thus under ACL restrictions) whereasS3_URL/images/filename.original.ext
(the rendition folder) works well. Note this the latter is also the URL seen on the edit page under "File".