[tw5] Re: implementing external image path in shiraz image-card macro?
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.I think shiraz is installed correctly since the standard syntax < ... >> works fine. Is it possible that shiraz macros can't be used with MacroCall ? Or (more likely) the error remains with my incomplete understanding? I don't know if it matters but I am using TiddlyDesktop under Linux Mint 19.3 and TiddlyWiki 5.1.22 with Shiraz 2.4.0 thanks, bye, Robin PS My registration with Talk TiddlyWiki 5 Discourse is now complete so I will continue this discussion, if necessary, over there after this post. (i had to use an alternative email address, probably some drastic blocking from my work email security settings, the Talk Discourse confirmation email never arrived, even in my spam folder) On Wednesday, 1 September 2021 at 22:01:51 UTC+10 Álvaro wrote: > 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 *widget*. > > You have to use de widget. In your case, something like the 2nd example of > 2nd codeblock. (But you don't have to use the same indirection in a > macrocall (widget) > <$macrocall $name="image-card" img=<> width="" > align="left" *...* > > > El miércoles, 1 de septiembre de 2021 a las 12:51:12 UTC+2, > rwi...@museum.vic.gov.au escribió: > >> Hi all >> >> I have been using the very handy ximg macro of Tobias Beer [ >> http://tobibeer.github.io/tb5/#External%20Image%20Path] to provide a >> URL where my images live. Works great, except that I now wish to use the >> image-card macro from the shiraz plugin for more options to display >> images. According to https://tiddlywiki.com/#MacroCallWidget : >> Macro parameters are specified as widget attributes, thus allowing >> indirection via {{title!!field}}, <> or {{{filter}}} >> >> so i have tried including <> within the standard >> syntax >> <> title:"" text:"" footer:"" pos:"top" alt:"">> >> >> to get >> >> <>" width:"" align:"left" >> caption:"" title:"" text:"" footer:"" pos:"top" alt:"">> >> >> but having tried various modifications I now surmise that nesting >> MacroCallWidgets is not allowed. Nor could I find this addressed in the >> group archives >> >> No doubt the solution is dead simple but not for beginners like me. I'd >> be grateful for help >> >> very many thanks, Robin >> >> [I would have posted this to the new Talk Tiddlywiki discourse but I'm >> _still_ waiting for my confirmation email to complete registration] >> >> >> >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/315fcd2e-5374-4f08-b548-ed47dd15a58fn%40googlegroups.com.
[tw5] Re: implementing external image path in shiraz image-card macro?
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 > > <$macrocall $name="image-card" img=<> width="" > align:"left" caption="" title="" text="" footer="" pos="top" alt=""/> > > But you man not even need to pass the nul values > > <$macrocall $name="image-card" img=<> width="" > align:"left" pos="top"/> > > Tony > fellow Aussie see > https://www.meetup.com/sydney-twig-tiddlywiki-interest-group/ > On Wednesday, 1 September 2021 at 20:51:12 UTC+10 rwi...@museum.vic.gov.au > wrote: > >> Hi all >> >> I have been using the very handy ximg macro of Tobias Beer [ >> http://tobibeer.github.io/tb5/#External%20Image%20Path] to provide a >> URL where my images live. Works great, except that I now wish to use the >> image-card macro from the shiraz plugin for more options to display >> images. According to https://tiddlywiki.com/#MacroCallWidget : >> Macro parameters are specified as widget attributes, thus allowing >> indirection via {{title!!field}}, <> or {{{filter}}} >> >> so i have tried including <> within the standard >> syntax >> <> title:"" text:"" footer:"" pos:"top" alt:"">> >> >> to get >> >> <>" width:"" align:"left" >> caption:"" title:"" text:"" footer:"" pos:"top" alt:"">> >> >> but having tried various modifications I now surmise that nesting >> MacroCallWidgets is not allowed. Nor could I find this addressed in the >> group archives >> >> No doubt the solution is dead simple but not for beginners like me. I'd >> be grateful for help >> >> very many thanks, Robin >> >> [I would have posted this to the new Talk Tiddlywiki discourse but I'm >> _still_ waiting for my confirmation email to complete registration] >> >> >> >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fab81d4c-1e22-476b-995a-977e64152dcbn%40googlegroups.com.
[tw5] Re: implementing external image path in shiraz image-card macro?
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 *widget*. You have to use de widget. In your case, something like the 2nd example of 2nd codeblock. (But you don't have to use the same indirection in a macrocall (widget) <$macrocall $name="image-card" img=<> width="" align="left" *...* El miércoles, 1 de septiembre de 2021 a las 12:51:12 UTC+2, rwi...@museum.vic.gov.au escribió: > Hi all > > I have been using the very handy ximg macro of Tobias Beer [ > http://tobibeer.github.io/tb5/#External%20Image%20Path] to provide a URL > where my images live. Works great, except that I now wish to use the > image-card macro from the shiraz plugin for more options to display > images. According to https://tiddlywiki.com/#MacroCallWidget : > Macro parameters are specified as widget attributes, thus allowing > indirection via {{title!!field}}, <> or {{{filter}}} > > so i have tried including <> within the standard > syntax > < title:"" text:"" footer:"" pos:"top" alt:"">> > > to get > > <>" width:"" align:"left" > caption:"" title:"" text:"" footer:"" pos:"top" alt:"">> > > but having tried various modifications I now surmise that nesting > MacroCallWidgets is not allowed. Nor could I find this addressed in the > group archives > > No doubt the solution is dead simple but not for beginners like me. I'd > be grateful for help > > very many thanks, Robin > > [I would have posted this to the new Talk Tiddlywiki discourse but I'm > _still_ waiting for my confirmation email to complete registration] > > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1407c634-e44c-4521-8f09-ca5daba3a849n%40googlegroups.com.
[tw5] Re: implementing external image path in shiraz image-card macro?
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 nul values <$macrocall $name="image-card" img=<> width="" align:"left" pos="top"/> Tony fellow Aussie see https://www.meetup.com/sydney-twig-tiddlywiki-interest-group/ On Wednesday, 1 September 2021 at 20:51:12 UTC+10 rwi...@museum.vic.gov.au wrote: > Hi all > > I have been using the very handy ximg macro of Tobias Beer [ > http://tobibeer.github.io/tb5/#External%20Image%20Path] to provide a URL > where my images live. Works great, except that I now wish to use the > image-card macro from the shiraz plugin for more options to display > images. According to https://tiddlywiki.com/#MacroCallWidget : > Macro parameters are specified as widget attributes, thus allowing > indirection via {{title!!field}}, <> or {{{filter}}} > > so i have tried including <> within the standard > syntax > < title:"" text:"" footer:"" pos:"top" alt:"">> > > to get > > <>" width:"" align:"left" > caption:"" title:"" text:"" footer:"" pos:"top" alt:"">> > > but having tried various modifications I now surmise that nesting > MacroCallWidgets is not allowed. Nor could I find this addressed in the > group archives > > No doubt the solution is dead simple but not for beginners like me. I'd > be grateful for help > > very many thanks, Robin > > [I would have posted this to the new Talk Tiddlywiki discourse but I'm > _still_ waiting for my confirmation email to complete registration] > > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4bb5d0bc-975e-4bbc-a4d4-8fc76f18ab95n%40googlegroups.com.