1. 程式人生 > >百度Ueditor 圖片上傳路徑配置

百度Ueditor 圖片上傳路徑配置

找到php資料夾中的config.json檔案,修改其中的imagePathFormat屬性

 "imagePathFormat": "/blog/Data/ueditor/php/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", 

此處的路徑為絕對路徑,所以要將專案的完整路徑補全即可