this custom widget should use a html table with image displayed in one column using _canonical_uri field and the label field of the image tiddler is transcluded in the second column. I am not getting the desired result with this code. Can someone give some suggestions?
Thank you @buggyj . This will help me getting started. I want to add more features to image widget which are suited for my workflow. I need to experiment a little more.
With the above code for the image widget, I was able to display the images stored in the images field of a tiddler using this image widget in the viewtemplate. Test this code in https://tiddlywiki.com/. Create a new tiddler with tag$:/tags/Macro/View/Body and the above given code in the text field.
Then use the below given code to create a image tiddler based on the images field rather than the _canonical_uri field and see it working.
<$button>
<$action-sendmessage $message="tm-new-tiddler" title="Blurry Lawn" images="./images/Blurry%2520Lawn.jpg" text="""<$image/>""" label="Blurry image with green grass with flowsers."/>
Create new Tiddler
</$button>
Now I want to include multiple images in the images field and display them. Is it possible to modify the code to support multiple images as shown in this post by @etardiff
Can someone help ? This doesn’t have much to do with custom widgets. Some clever wikitext usage might do the trick which I am unable to do after several attempts.