Try adding this as a plugin - usage is then <<image {{url}} {{width}}
{{height}}>>
eg.<<image foo.jpg 150 150>>

Hope this helps.
Jon

Code:

config.macros.image = {};
config.macros.image.handler = function
(place,macroName,params,wikifier,paramString,tiddler){
if(!params[0]) return;
var html = "<html><img src='" + params[0] + "'";
if(params[1]){
 html += "width='" + params[1] + "' ";
}
if(params[2]){
 html += "height='" + params[2] + "' ";
}
html += "></html>";
wikify(html,place);
};


On Feb 4, 3:38 pm, Círdan <[email protected]> wrote:
> Thanks for the advice!
>
> However, importing your picture plugin doesn't seem to work. Sorry,
> I'm a complete geek according to html, but at step 4 the importing
> (from url) stops. I work with Firefox 3.01, and don't have the Firebug-
> plugin (which may interfere with importing plugins). Maybe working on
> a netwerk may cause problems?
>
> Greetz,
>
> Roel
>
>
>
> >http://www.TiddlyTools.com/#ImageSizePlugin
>
> > extends the TW core's [img[file.jpg]] syntax to permit specification
> > of width and height values, like this:
> >    [img(width,height)[file.jpg]]
> > where 'width' and 'height' are both CSS measurements (using em, px,
> > in, cm, or %)
>
> > enjoy,
> > -e
> > Eric Shulman
> > TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to