I have just noted a weak point to this method : thumbnails won't show up if I call [[aTiddlerWithThumbnails]] with
<<tiddler aTiddlerWithThumbnails>> since they are not real content of that tiddler. On Aug 17, 11:35 pm, julien23 <ju.bouc...@gmail.com> wrote: > Thanks a lot it works fine ( except for tidler title with the > character ' ) > > I just need to do a few adjustments to match my initial layout... > > Thus I added > > class='thumbnails' > > in > > <div class='thumbnails' macro='tiddler fetThumbnails with: > {{tiddler.title}}'></div> > > but it would not let me define attributes for thumbnails in > [[StyleSheet]] > > .thumbnails { > border:1px solid [[ColorPalette::Foreground]]; > } > > am I missing something? > > Regards > > Julien > > On Aug 17, 8:46 am, Måns <humam...@gmail.com> wrote: > > > You might want to change your fET to: > > <<forEachTiddler > > where > > 'tiddler.tags.contains("attachment") && > > tiddler.tags.contains("$1") && tiddler.text.contains("image") ' > > sortBy > > tiddler.created > > descending > > write > > '"[img(,12em+)["+tiddler.title+"]] "'>> > > > and write in your ViewTemplate: <div macro='tiddler thumbnails with: > > {{tiddler.title}}'></div> > > to make it work.. > > > Regards Måns Mårtensson > > > On 16 Aug., 23:15, Måns <humam...@gmail.com> wrote: > > > > Hi Julien23 > > > > On 16 Aug., 18:39, julien23 <ju.bouc...@gmail.com> wrote:> Most of my > > > tiddlers start with thumbnails with this FeT : > > > ... > > > > Is there a way to automate that ? > > > > > Could it be something to do with Stylesheet ? Transclusion ? > > > > There are several ways to "automate" showing the result of your fEt in > > > tiddlers. > > > One idea is to use the tiddlermacro (<<tiddler SomeTiddler>>) in your > > > ViewTemplate tiddler. > > > Put your fEt in a tiddler [[thumbnails]] and put it in your > > > ViewTemplate like this: > > > <div macro='tiddler thumbnails'></div> > > > > You might also want to use HideWhenPlugin - or TaggedTemplateTweak > > > plugin - to show the fEt only in tiddlers tagged with "SomeTag" > > > > Regards Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.