需要handsome主题使用vditor 1.去[sm.ms图床](https://sm.ms/)注册,在设置获得token 2.下载我修改的插件包,上传博客目录/usr/plugins/Handsome解压 3.修改/usr/plugins/Handsome/action/ApiImg.php第三行 ``` define('api_img_token','');//这里填写你的token ``` 填写你的token 4.保存,然后尝试上传图片看是否已自动上传到图床 插件下载地址:[https://xy3.lanzoui.com/iIns0wy3v8d](https://xy3.lanzoui.com/iIns0wy3v8d) Loading... 需要handsome主题使用vditor 1.去[sm.ms图床](https://sm.ms/)注册,在设置获得token 2.下载我修改的插件包,上传博客目录/usr/plugins/Handsome解压 3.修改/usr/plugins/Handsome/action/ApiImg.php第三行 ``` define('api_img_token','');//这里填写你的token ``` 填写你的token 4.保存,然后尝试上传图片看是否已自动上传到图床 插件下载地址:[https://xy3.lanzoui.com/iIns0wy3v8d](https://xy3.lanzoui.com/iIns0wy3v8d) Last modification:February 2, 2022 © Allow specification reprint Like 如果觉得我的文章对你有用,请随意赞赏