Image file cut off when uploading to AWS S3 bucket via Django and Boto3
问题 When I upload a larger image (3+ MB) to an AWS S3 bucket, only part of the image is being being saved to the bucket (about the top 10% of the image, the rest displaying as grey space). These images consistently show 256 KB size. There isn't any issue with smaller files. Here's my code: s3 = boto3.resource('s3') s3.Bucket(settings.AWS_MEDIA_BUCKET_NAME).put_object(Key=fname, Body=data) ...where data is binary data of image file. No issues when files are smaller size, and in the S3 bucket the