Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Method 1: Data URIs
We can host the images "inline", inside the form (i.e. Custom HTML) or Userview menu (i.e. Rich Text Editor) itself.
For example, we want to show the image below in a Rich Text Editor in Userview Builder.
Figure 1: Sample photo
Save the photo above to your local.
Drag the photo saved previously into the website above.
Copy the code generated.
Go to your Userview Builder, edit the HTML Page.
From the content, in the View tab, click on Source Code.
Add the img tag into the HTML Source Editor and put in the code copied earlier into the src attribute.
<img src="PASTE THE CODE HERE"/>
Reference: https://css-tricks.com/data-uris/
In the webapps folder, create a new folder called images.
Put the image file hi.png into the new folder.
Go to your Userview Builder, edit the Userview Menu - Rich Text Editor.
Click on HTML Source.
Add the img tag into the HTML Source Editor and construct the URL path to the image.
<img src="/images/hi.png"/>