How to get Web-Resource in HTML

Jackson Farnsworth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2018

So I've added a Web Resource in my atlassian-plugin.xml like so:

<web-resource key="logo" name="Logo">
<resource type="download" name="Logo" location="/images/logo.png"/>
</web-resource>

Now that I have this declared, what do I need to put in the head of my html to access the image?

As it stands, the following does not reach the image.

<img id='logo' src='images/logo.png' alt='Logo Pic'/>

 The image currently resides in my 'resources/images' directory

 

Thanks in advance

1 answer

0 votes
Jorge Jerez December 6, 2018

Did you solved the problem?

 

I have now the same problem with css, pics and JS files:

 https://community.atlassian.com/t5/Questions/Use-Web-Resources-on-HTML-File/qaq-p/957323

Jackson Farnsworth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2018

No, nothing yet unfortunately.

Suggest an answer

Log in or Sign up to answer