hexo-upic-gitee-问题解决

hexo-upic-gitee-问题解决

gitee+upic可以解决图床问题

markdown图片在hexo无法显示

解决hexo博客不能显示图床图片问题

使用markdown格式插入图片的时候,图片无法显示

会有403forbidden的问题,使用下面的语句解决。

1
<meta name="referrer" content="no-referrer" />

图片url出现空格的问题

1、空格改为%20

1
2
3
![a](https://gitee.com/JiaChengCC/u-pic-chart-bed/raw/master/uPic/Screen%20Shot 2022-09-01 at 22.20.24.png)
改为
![a](https://gitee.com/JiaChengCC/u-pic-chart-bed/raw/master/uPic/Screen%20Shot%202022-09-01%20at%2022.20.24.png)

2、使用html写法

1
<img src="https://gitee.com/JiaChengCC/u-pic-chart-bed/raw/master/uPic/Screen Shot 2022-09-04 at 18.22.57.png" alt="Alt" title="image title">

3、在上传图片到图床的时候,自动将空格转为别的比如”-“之类的方法

Author: Jcwang

Permalink: http://example.com/2022/10/15/hexo-upic-gitee-%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3/