Hey all,
So I'm trying to add a local image, in src/main/resources/images/ to my vm file. In my atlassian-plugin.xml, I've added it as a resource.
<web-resource key="logo" name="Logo">
<resource type="download" name="portal_logo.png" location="images/portal_logo.png" />
</web-resource>
In my vm file, Ive given the following:
$webResourceManager.requireResource("com.companyName.servicedesk.myPlugin:logo")
...
...
...
<img src="images/portal_logo.png" alt="Logo>Unfortunately the image does not up with everything else. What do I need to do to fix this? Thanks in advance.