How to use tiddler with local png image in flex card macro

@jeremyruston. Sorry for tagging you. I don’t think anyone else know this better than you.
I am using flex card macro from tiddlywiki.com in my wiki to create a grid of cards as storyriver (also by using muuri plug in).
I want to use a tiddler with local png file in text field [img[relative-path.png]] in the imageField of the flex-card macro. But it was not working. Only tiddlers with image/png or image/jpeg type was working with this macro

Here is a demo wiki - https://muuri-flex-card-grid-layout-with-buttons.tiddlyhost.com/

Here is the relevant tiddler - tiddler with image field , image tiddler

You can put the image url directly into the ‘image’ field of card:

image

@buggyj Thanks for the reply.

My image is a local png file [img[files/gu-rad/prostate-mri_tweet_abdo_imaging20231229200950820.png]]

I tried to put this in the image field of the tiddler

But the image is not shown in the viewtemplate

1 Like

in the image field use just the url - don’t use [img[]]

1 Like

Thank you @buggyj It works now.