-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
header-img 可以用其他方式加载吗? #40
Comments
目测是可以甩链接的~ 我觉得这个跟在文章中引用图片一样的原理 ,我测试过的有 '又拍网' ,加载速度还可以。 From 邮箱大师。 |
测试过简单加外链不行,同求解决 |
@voleking 嗯,如果丢链接进去感觉应该还要改其他地方. 不懂html css 改起来挺不顺畅的 :( 我试着改了,没有加载成功. |
@Asingers 我也不太会:( |
@BruceZhaoR 我想知道你是怎么改的head image |
@BruceZhaoR @voleking 这是 @Huxpro 文章头图的加载,注意到箭头所指的地方,直接链接是不对的,但是去掉 / 和 ' ' 是可以加载,但是图的大小不受控制,不好看了... This is how the @Huxpro article header map loading, note that the arrow points to the place where the direct link is not right, but remove / and '' is to be loaded, but the size of the figure is not under control, not good-looking... |
@BruceZhaoR thanks,可以了 : ) |
@BruceZhaoR Thanks a lot,It works well know;) |
😃 |
确实是的,按上面改了header.intro-header{中的css,外链成功了,用的是七牛 |
不是很懂,有没有大神指教一下 |
@awei4home , header.intro-header这个CSS在哪个文件里面? |
我并没有看到有什么具体的解决方法呀?是删掉了吗 |
@BruceZhaoR |
已解决。代码未动,直接链接即可,用的是gitee的图床,需要压缩一下图片,1m以下即可,安利一个网站,https://docsmall.com/image-compress |
使用阿里云oss图床 |
所以说到底是需要怎样修改呢? |
比如:
header-img: /img/example.jpg
我发现当我放一些稍大,质量高一点的图,加载速度会有点慢,所以不知道能不能直接丢个云存储空间的图片链接进去
比如:
header-img: "http://abc.com/example.jpg"
我该怎么做呢?
The text was updated successfully, but these errors were encountered: