Magnus, Perhaps you need to show the call to this macro and how you are iterating through your items in the data tiddler/image tiddlers. It is the invocation of the macro that populates the $variables$ and alters the currentTiddler.
Regards Tony On Monday, 24 December 2018 08:18:24 UTC+11, Magnus wrote: > > I expected it to set the state-tiddler $:/_state/currentImage with the > feched index for <<currentTiddler>> from the > data-tiddler $:/_dictionary/photographers like $img$ and $caption$ but I > get nothing > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dfbe2be1-f9d6-4f46-9e78-13006e7a3ff8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

