I have a related question:
When I use the picture as a link I can't resize it "on the fly" - Is
my syntax wrong - Is it the wikifyPlugin interferring or must I choose
between linking OR being able to resize images with the mouse?:
In the XXViewtemplate:
<div  class macro='wikify [img(13em+,+)[%1|%0][%1-]] bill...@here
ti...@here'>

Same problem in a table here:
[img(3em+,+)["+store.getValue(tiddler,"title")+"|"+store.getValue
(tiddler,"billede")+"]["+tiddler.title+"]]

YS Måns Mårtensson

On Apr 29, 11:24 am, Måns <[email protected]> wrote:
> Argh - I was too slow
> Or Eric is just too fast
> errata - *very fast*  ;-)
>
> Ys Måns
>
> On Apr 29, 11:14 am, Eric Shulman <[email protected]> wrote:
>
> > > I am trying to get an image to display smaller in a tiddler but
> > > instead theage is being clipped and not shrunk.
> > > <<gradient vert #ffffff #cccccc >>text-align:center;font-
> > > weight:bold;width:240px;height:120px;[img[Custard.png]]>>
>
> > As you have noted, the above CSS will set the dimensions of the
> > containing 'gradient' DIV, rather than the dimensions of the image
> > *within* that DIV.
>
> > You *can* set the image size via CSS, but only if you add a custom
> > rule to your [[StyleSheet]] that you then combine with inline styles,
> > like this:
>
> > [[StyleSheet]]:
> > .stretch img { width:100%; height:100%; }
>
> > tiddler content:
> > @@display:block;width:240px;height:120px;{{stretch{[img
> > [Custard.png]]}}}@@
>
> > However... there is a *much* better syntax available...
>
> > First, install this plugin:
> >    http://www.TiddlyTools.com/#ImageSizePlugin
>
> > Then, forget about the CSS (rules *and* inline styles) and just write:
>
> > [img(240px,120px)[Custard.jpg]]
>
> > enjoy,
> > -e
> > Eric Shulman
> > TiddlyTools / ELS Design Studios
>
> > > any clues plz.?
--~--~---------~--~----~------------~-------~--~----~
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