[tw5] Re: implementing external image path in shiraz image-card macro?

2021-09-02 Thread Robin Wilson
sorry but I still have problems. The macrocall syntax suggested by Tony and Álvaro does not work, the tiddler displays the code although with the image itself displayed in place of the image filename. I have tried replacing img=<> with img="<>" and even with the full path to the image.

[tw5] Re: implementing external image path in shiraz image-card macro?

2021-09-01 Thread Robin Wilson
Ah, great, many thanks Tony, and also to Álvaro - I'll go and make it work Robin On Wednesday, 1 September 2021 at 22:01:37 UTC+10 TW Tones wrote: > As soon as you want to pass something to a macro that is not in a value > format you can use the macrocall widget, even on your own macros > >

[tw5] Re: implementing external image path in shiraz image-card macro?

2021-09-01 Thread Álvaro
I think that you don't "see" the following text before your cited text: " *The advantages of the widget formulation are: "* I think it is easier to understand by looking at the two codeblocks: In the first block 2 examples with normal syntax and In the second block 3 examples with macro call

[tw5] Re: implementing external image path in shiraz image-card macro?

2021-09-01 Thread TW Tones
As soon as you want to pass something to a macro that is not in a value format you can use the macrocall widget, even on your own macros <$macrocall $name="image-card" img=<> width="" align:"left" caption="" title="" text="" footer="" pos="top" alt=""/> But you man not even need to pass the