Search code examples
azure-devopsmarkdown

Add image to Azure Devops Dashboard


I need to add a static image to Azure Devops dashboard. Is the easiest way to do this using the MarkDown widget? And if so, where do I store my image to link to it in markdown? And can you please give me an example? does the dashboard have a storage area for images, or markdown files? Or does it have to be stored somwhere in my git repository. I would prefer not to, as I am merely a scrummaster, with no easy access to git repository. Thanks


Solution

  • To use a static image in your dashboard without storing the image a git repository, you can store it into your project wiki.

    The trick is to:

    1. Add an image to any wiki page
    2. Submit your changes and close the page editor
    3. Right-click on the image, and select the option "Copy the image's address"
    4. Then, in your dashboard, add a MarkDown widget, in which you put the following content:
    ![Text](youre-image-url-address)
    

    And that's it! :) Beware of taking the image address after closing the wiki page editor, otherwise the link you'll get will be a blob and won't work.