Oh - I just saw that Eric answered your question..
His css-solution is "true" to the sizing of the image.
In my "tablehack" the image gets surrounded by a tablecell - and the
result is that the imagesize is set by the tablesize and vice-versa.
Try:
|[img(50%,auto)[img/ this_is_the_picture.png]] |
and
{{border{[<img(50%,auto)[img/ this_is_the_picture.png]]}}}

to see the difference.

Regards Måns Mårtensson

On 21 Sep., 10:06, Måns <[email protected]> wrote:
> Hi Tobbe
> When you align something in a table you don't use < or >.
> Instead you will use spaces before and after a cell's content to
> control the alignment.http://tiddlywiki.org/wiki/Tables#Text_Alignment
> This will left align the image:
> |[img(150px,auto)[img/ this_is_the_picture.png]] |
> This will center the image:
> | [img(150px,auto)[img/ this_is_the_picture.png]] |
> This will right align the image:
> | [img(150px,auto)[img/ this_is_the_picture.png]]|
>
> Regards Måns Mårtensson
> On 21 Sep., 07:52, Tobbe <[email protected]> wrote:
>
>
>
> > Hi,
>
> > When I use ImageSize plugin like this [<img(150px,auto)[img/
> > this_is_the_picture.png]] and I want a frame around it with 2 | | it
> > doesn't work. How can fix that?
>
> > //Tobbe
--~--~---------~--~----~------------~-------~--~----~
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