Skip to content

Commit 02b8f3b

Browse files
committed
Add instructions for displaying bundled images to Info Tab Example
1 parent 6bda044 commit 02b8f3b

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Code Examples/Info Tab Example.nlogox

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,26 @@ Like local links, the easiest way to display images on your computer is to put t
250250
251251
![Example](file:Perspective%20Example.png)
252252
253+
### Bundled images
254+
255+
Images that are bundled with the model (See [Resource Manager](resource-manager.html)) can also be displayed in the
256+
Info tab. To display a bundled image, use the same syntax as for local files above, but omit the `file:` specifier.
257+
For example, if there is a bundled image called `wolf-sheep`, you can include it in the Info tab as follows:
258+
259+
```text
260+
![Wolf Sheep](wolf-sheep)
261+
```
262+
263+
To control various properties of an image, such as its size, you can use the equivalent HTML tag instead of Markdown
264+
syntax, as follows:
265+
266+
```text
267+
<img src="wolf-sheep" alt="Wolf Sheep" width="100" />
268+
```
269+
270+
In either case, if the provided name refers to a resource that is not an image, a dummy image will be displayed in its
271+
place.
272+
253273
## Block quotations
254274
255275
Consecutive lines starting with > will become block quotations.

0 commit comments

Comments
 (0)