On Wednesday, November 25, 2020 at 9:35:25 AM UTC-8 Anthony wrote:
> <$image source={{A!!structure_file}} alt={{A!!title}} />
> which I expected to would give the title of Tiddler A when the mouse
> hovered over the image
>
As per the documentation (https://tiddlywiki.com/#ImageWidget), the $image
widget supports the following attributes:
*source* The URL of the image, or the title of an image tiddler
*width* The width of the image
*height* The height of the image
*tooltip* The tooltip to be displayed over the image
*alt* The alternative text to be associated with the image
*class* CSS classes to be assigned to the <img> element
Thus, to get "mouseover" text, use
<$image source={{A!!structure_file}} tooltip={{A!!title}} />
-e
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/42c86d83-7637-4279-b437-4be98cc2e677n%40googlegroups.com.