I have something like this:

<$button message="tm-modal" param="image.png">
[img width="100" [image.png]]
</$button>

I have the same problem TheDiveO describes.  Am I able to set the max-width 
in this block; if so, where?  What I've tried so far doesn't fix the 
problem.

Thank you,
eirich

On Thursday, October 23, 2014 4:51:01 PM UTC-7, Daniel Baird wrote:
>
>
> You could set CSS property max-width: 90% on the image?
>
> On 24 October 2014 06:42, TheDiveO <harald....@gmx.net <javascript:>> 
> wrote:
>
>> Hi,
>>
>> I would like to use a modal lightbox that shows an image. I've set up an 
>> image tiddler with a rather large jpg image and added a footer field so the 
>> user can dismiss the tiddler. When I send the tm-modal message, the 
>> lightbox shows up as expected. But unfortunately, the image overflows the 
>> screen and the ayout is, well, borked. Is there a way to auto-size the 
>> image so that it doesn't make the lightbox "explode"? When I view the image 
>> tiddler normally in the story river then the image automatically gets 
>> resized to the story river width.
>>
>> Any help greatly appreciated,
>> TheDiveO
>>
>> -- 
>> 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 tiddlywiki+...@googlegroups.com <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Daniel Baird
> objoke: I had a problem and decided to solve it with threading. Now, 
> have problems. two I
>  

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to