Level 9
You need to check if your bucket is public or private, you need to make your bucket public Then you will be able to view files publicly
check this out
https://havecamerawilltravel.com/photographer/how-allow-public-access-amazon-bucket/
Hi,
I am putting images on Amazon S3 through laravel code:
$path = $request->file('myphoto')->storeAs('images', $imageName, 's3');
But when I try to read it in the list page, S3 says ACCESS NOT GRANTED.
I have followed exact steps of almost all tutorials for Laravel s3 file uploads, but still unable to fix this. Anyone can guide me to the right tutorial?
Thanks, Saad
You can try
$path = $request->file('myphoto')->storePubliclyAs('images', $imageName, 's3');
Please or to participate in this conversation.