Hi Mat
>
> I'm guessing it is the {{tiddler.title}} that is an "evaluated parameter"
> (i.e for anything in tspace using {{..}} one needs that
> config.evaluateMacroParameters = "full"; - correct?)
>
> http://tiddlywiki.tiddlyspace.com/Evaluated%20Parameters
Cheers Måns Mårtensson
>
> On Tuesday, April 2, 2013 7:53:15 PM UTC+2, Måns wrote:
>>
>> Hi Mat
>>
>> When you are using a TW on tiddlyspace evaluated parameters are turned
>> off.
>>
>> If you create a tiddler: zzConfig tag it with systemConfig and write:
>>
>> /*{{{*/
>> config.evaluateMacroParameters = "full";
>> /*}}}*/
>>
>> it works as it would in a "plain" TW
>>
>> Check out:
>>
>> http://testimg.tiddlyspace.gir.dk/#Wikipedia-logo.png%20zzConfig
>>
>>
>> Cheers Måns Mårtensson
>>
>> On 2 Apr., 18:25, Mat <[email protected]> wrote:
>> > Wohoo! That's great Måns!
>> >
>> > Demo<
>> http://test33.tiddlyspace.com/#Wikipedia-logo.png%20logo4w.png%20View...>(without
>>
>> ShowWhen installed)
>> >
>> > The plugin version does work (google logo) but something's wrong with
>> the
>> > second (wikipedia logo). I thought it might require a
>> HTMLFormattingPlugin,
>> > but that didn't solve it. Not that it has to be solved now that the
>> first
>> > one works so well :-)
>> >
>> > This is great! Now even my kids can add pictures to tiddlers as long as
>> > they are stored in a decided upon folder.
>> >
>> > Thank you all! (BTW, I'm still curious about Tobias solution and will
>> try
>> > it out again)
>> >
>> > <:-)
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Tuesday, April 2, 2013 5:29:18 PM UTC+2, Måns wrote:
>> >
>> > > Hi Matt
>> >
>> > > I use Eric's WikifyPlugin, ImageSizePlugin and HideWhenPlugin for
>> > > this:
>> >
>> > > <div class='someclass' macro='showWhenTagged SomeTag'>
>> > > <div class='someclass' macro='wikify
>> > > [img(12em+,)[%0|http://
>> > > someurl.com/SomeDirectory/%0.jpg][http://someurl.com/SomeDirectory/
>> > > %0.jpg]] title@here '>
>> > > </div></div>
>> >
>> > > I recon it should be possible to do it without any additional plugins
>> > > via the tiddlermacro - like this:
>> >
>> > > SomeTiddler
>> >
>> > > <html><img src="http://someurl.com/SomeDirectory/$1.jpg" style="max-
>> > > height: 12em; max-width: auto;" /></html>
>> >
>> > > and
>> >
>> > > ViewTemplate
>> >
>> > > <div class='someclass' macro='tiddler SomeTiddler with:
>> > > {{tiddler.title}}'></div>
>> >
>> > > Cheers Måns Mårtensson
>> >
>> > > On 31 Mar., 00:15, Mat <[email protected]> wrote:
>> > > > Returning a bit late here. Anyway;
>> >
>> > > > @anyone
>> > > > merely putting in <img src="http://... width="x" height="y"> into
>> > > > ViewTemplate works.
>> > > > How can I make the src contain a generic reference to the current
>> > > tiddler
>> > > > title?
>> >
>> > > > @Tobias
>> > > > - your plugin looks interesting but frustratingly I'm not skilled
>> enough
>> > > to
>> > > > understand how to make it work. However, even if I was, do I
>> understand
>> > > it
>> > > > correctly that
>> > > > a) I must manually include a specification for each instance for
>> when I
>> > > > want a file to show up, no? That would kind of go against my
>> original
>> > > idea
>> > > > to have the image appear automatically.
>> > > > b) the filename is specified and it is located in the very text
>> field of
>> > > > the tiddler (unless it is a field)?
>> >
>> > > > Thank you!
>> >
>> > > > <:-)
>> >
>> > > > On Saturday, February 16, 2013 3:17:52 AM UTC+1, Tobias Beer wrote:
>> >
>> > > > > Actually, you can simply use a plugin I have just written:
>> > > > >http://get.tiddlyspace.com
>> >
>> > > > > If you put this in your ViewTemplate...
>> >
>> > > > > <div macro='get ??thumb plain'></div>
>> >
>> > > > > ...it will try to fetch the field 'thumb' from a tiddler and
>> wikify
>> > > the
>> > > > > contents.
>> >
>> > > > > Or you could use....
>> >
>> > > > > <div macro='get ##thumb plain'></div>
>> > > > > <div macro='get ::thumb plain'></div>
>> >
>> > > > > To do just the same while fetching from a (hidden) section or
>> slice
>> > > > > instead...
>> >
>> > > > > ...all assuming that the field, section or slice contained the
>> > > required
>> > > > > image markup.
>> >
>> > > > > Cheers, Tobias.
>>
>
--
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 http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.