What is the Markdown syntax for using images in the image gallery?
Hi Jay,
thanks! You can use the following markdown syntax in Tiki if you have SEFURLs enabled:
{MARKDOWN()} ![My Image](./display14) {MARKDOWN}
Lets test it here:
!My Image(./display2188?x=640 "Tiki Oven")
Optionally you can add some attributes:
{MARKDOWN()} ![My Image](./display2188?x=640 "Tiki Oven"){.img-fluid width="400"} {MARKDOWN}
See the Commonmark docs: https://commonmark.thephpleague.com/1.5/extensions/attributes/
luci
Greetings,
The Markdown plugin is wonderful. What syntax do you use to access images in the gallery (database)? In Markdown, I would include an image with the following code:
![My Image](./photos/myimage.jpg)
With Tiki I would reference an image from the galley with the following code:
{img width=400 id=14}
I guessed at the following syntax but neither one generates an image.
{MARKDOWN()} ![My photo](img width=400 id=14) @import "img width=400 id=14" {MARKDOWN}
I haven't found any documentation on how to access images using Markdown plugin syntax. Would someone post a link to the Markdown language reference showing how to access Tiki Wiki images or suggest the proper syntax when uses the Markdown plugin to Tiki Wiki?
Sincerely,
Jay Morreale