[tw5] How can I link an external URL to an internal image and a shown tooltip?

Hi everyone,

I want to add an external URL link to an internal image and additionally show a tooltip when hovering with the mouse on the shown image. Is this somehow possible?
Until now I was able to add an external URL to an internal image, but I don´t know how to add the tooltip.
I used the following format:

[img[image.png]]

I tried to add tooltip=“name_of_tooltip” between URL and target but it´s not working.
If it´s not possible with this format, can anybody tell me a format or a way that I can use to get this working?

Best regards
heusmich

The standard HTML syntax for adding a tooltip to a link uses the title attribute, like this:

<a href="URL" title="tooltip text" target="_blank">[img[image.png]]</a>

Alternatively, you can use the TW wikitext syntax for adding a tooltip to an internal image, like this:

<a href="URL" target="_blank">[img[tooltip text|image.png]]</a>

enjoy,
-e

1 Like

OK, both things are working.
Thank you very much, have a nice evening!
:smiley:

Best regards
heusmich