我试图将图像上传到AWS,作为base64字符串或图像,但上传后图像损坏/变黑。 for item in os.listdir(os.path.join(app.config['UPLOAD_FOLDER'])):
if item.startswith(str(current_user.id)):
with open(os.path.join(app.config['UPLO
Database output: userfile rather than image name? 而不是 控制器: 我的上传目录是好的,但是当我用另一种方法,并在需要时调用它它不给我所需的输出..即时通讯非常抱歉novicity ` public function uploadImage()
{
$config['upload_path'] = './uploads/fi