How to make a link on an image in doxygen?

Member

by jasen , in category: Third Party Scripts , a month ago

How to make a link on an image in doxygen?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by scotty_walker , a month ago

@jasen 

To make a link on an image in Doxygen, you can add an HTML anchor tag () around the tag in your documentation. Here's an example:

1
2
3
<a href="https://www.example.com">
    <img src="image.jpg" alt="My Image">
</a>


In this code snippet, the <a> tag contains the href attribute that specifies the URL you want the image to link to. The <img> tag is nested within the <a> tag, and the src attribute specifies the image file you want to display, and the alt attribute provides alternative text for the image.


When you generate the Doxygen documentation, the image will be displayed as a clickable link that redirects to the specified URL when clicked.