Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents |
---|
We can host the images "inline", inside the form (i.e. 自定义HTML) or Userview menu (i.e. 富文本编辑器) itself.
For example, we want to show the image below in a Rich Text Editor in Userview Builder.
Figure 1: Sample photo
我们可以在表单(即自定义HTML)或用户视图菜单(即富文本编辑器)内部托管“内联”图像。
例如,我们想要在UserView Builder中的富文本编辑器中显示下面的图像。
图1:示例照片
将img 标签添加到 HTML源代码编辑器中 ,并将之前复制的代码放入 src 属性中。Add the img tag into the HTML Source Editor and put in the code copied earlier into the src attribute.
Code Block |
---|
<img src="PASTE THE CODE HERE" =“粘贴这里的代码”/> |
Reference: 参考:https:: //css-tricks.com/data-uris/
Assuming that you are running on the default application web server, Tomcat, we can create a new folder in the webapps folder to specifically host images.
假设您在默认的应用程序Web服务器Tomcat上运行,我们可以在webapps 文件夹中创建一个新文件 夹来专门托管图像。
将img 标签添加 到 HTML源代码编辑器中, 并构建图像的URL路径。
Add the img tag into the HTML Source Editor and construct the URL path to the image.
Code Block |
---|
<img src="/images/hi.png"/> |
...