Hmm, ok. Isn't it strange that the code works on the picture, displays it
and decides of it's size in that case? I have no idea how to go about it,
how should I write it in that case?
I want to avoid having to add any code to the tiddler displaying the
picture though. It's important for me to keep the database clean of any
code...
Le dimanche 2 avril 2017 12:24:33 UTC+2, Mat a écrit :
>
> Ok, my last attempt:
>
> There is - as far as I understand things - a conflict when you write
>
> <$image source={{!!picture}} class="person"/>
>>
>
> ...and then...
>
> The text is inside the tiddler displaying the picture, while the picture
>> link is in it's picture field.
>>
>
> The argument in the source attribute in the image widget is, as far as I
> know, supposed to point to only an image tiddler. Not a tiddler that
> contains something else like a link to or transclusion of an image plus
> other stuff. The class argument is applied to the output of the imagewidget.
>
> You should perhaps use a transcludewidget in that outer listwidget. And in
> the tiddler that transcludes the image tiddler and has text, you can
> experiment with setting styles to the transcluded image like so:
>
> <div class="person">{{myimage}}</div>
>> My image text.
>>
>
>
> Ok, hope that helps.
>
> <:-)
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/6d5e77ef-d8e8-4740-8260-cc11c40e1644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.