Comments (4)
Hi,
Thanks for the update!
I tried it again just now and it works using the following shortcode.
{{< image src="./Basic_principles_of_photography.svg" title="Camera lens" width="100%">}}
But it will throw errors using the following code,
{{< image src="Basic_principles_of_photography.svg" title="Camera lens" width="100%">}}
The errors won't happen when using "xxx.png".
The following code also doesn't work properly.
{{< image src="/Basic_principles_of_photography.svg" title="Camera lens" width="100%">}}
from fixit.
When I use the image shortcode for loading svg file as follow, it seems available.
{{< image src="/fixit.min.svg" >}}
@seekzzh Could you provide me with your svg picture and usag case?
from fixit.
Okay, I catch it! I'll fix it as soon as possible.
Thanks ❤️
from fixit.
resolved
from fixit.
Related Issues (20)
- [FEATURE] enhancement bilibili shortcode
- valine评论emoji显示异常 HOT 1
- [FEATURE] 在social中添加cnblog博客园 HOT 1
- link shortcode 增加 icon
- Add withSiteTitle params HOT 1
- 新增归档页面、增强全站所有文章时间线 HOT 1
- 剥离 docs Git 子模块,新增 demo 文件夹
- [FEATURE] Add support for simpler admonition sytax
- [BUG] 更新主题后 CSS出现问题,且无法使用浏览器开发者模式 HOT 6
- [BUG] 部分加密移动端无法点击确认 HOT 3
- [BUG] 图片显示问题 HOT 1
- [FEATURE] change text color of links in "See Also" HOT 1
- [FEATURE] 代码tab栏
- [FEATURE] 在页面中增加菜单按钮
- [BUG] 使用artalk2.8.2 docker版本,调用出现404,已初步发现问题,求优化解决 HOT 3
- [BUG] Unencoded Content in Search Leads to JavaScript Execution Risk in autocomplete-js
- hugo 0.123.x 导致首页文章作者头像无法显示 HOT 1
- Please don't use symbolic links HOT 1
- [BUG] Some breaking bugs caused by Hugo 0.123.0 HOT 4
- use `strings.Title` for post title and other titles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fixit.