On Nov 15, 8:49 am, Måns <[email protected]> wrote:
> Hi TwWizards
>
> I want to be able to exchange an image put in the sidebar via the
> PageTemplate simply by inputting an URL in a tiddler:

I would put the image in a tiddler then put the tiddler in the
PageTemplate like this

{{center{[img[file:///C:./yellowpill.jpg]]}}}

<div id='sidebar'><span refresh='content' tiddler='YellowPill'></span>

Morris

On Nov 15, 8:49 am, Måns <[email protected]> wrote:
> Hi TwWizards
>
> I want to be able to exchange an image put in the sidebar via the
> PageTemplate simply by inputting an URL in a tiddler:
>
> PageTemplate:
> <div id='sidebar'>
>         <img src='sitelogo.jpg' width='100%' align='center'><br />
>         <div id='sidebarOptions' refresh='content'
> tiddler='SideBarOptions'></div>
>         <div id='sidebarTabs' refresh='content' force='true'
> tiddler='SideBarTabs'></div>
> </div>
>
> I thought I'd just create a tiddler called sitelogo.jpg and input an
> URL - but ofcourse that didn't work...
>
> If you have a working solution (avoiding direct editing of the
> PageTemplate) please give me a hint.
>
> YS 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=.


Reply via email to