我試圖將圖像上傳到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