There were several errors in the filter. But that's all right -- I made 
several errors trying to fix it. It's easy to mess up, especially when 
you're counting braces. Also, I'm pretty sure you can't put a widget into 
the middle of a span tag, but if you could it would have to be closed 
(<$link/>).

The <$link> needs to be wrapped around whatever you want to link to. Here's 
what I came up with:

<div class="my-gallery">
<$list filter="[all[tiddlers]field:parent<currentTiddler>] +[sort[title]]">
<span title=<<currentTiddler>>>
<$link><$transclude/></$link>
</span>
</$list>
</div>

HTH
Mark


On Sunday, August 27, 2017 at 4:16:25 AM UTC-7, Tom Bardout wrote:
>
> Hi, 
> Is there a way to turn the code used here 
> <http://tiddlywiki.com/#ImageGallery%20Example> to display links to other 
> tiddlers as images?
> It would be great to also have the title of the linked tiddler under each 
> image. 
>
> For now, this is what I have but it doesn't display a thing and if it did, 
> I suppose it wouldn't be in picture form...
>
> <div class="my-gallery">
> <$list filter="[all[tiddlers][field:parent<currentTiddler>] 
> +[sort[title]]]">
> <span title=<$link><<currentTiddler>>
> <$transclude/>
> </span>
> </$list>
> </div>
>
>
>

-- 
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/73edffe7-e9ce-43e9-b7f1-95d613f89fb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to