Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Contributor
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
TAGS
atlassian, jira product discovery, product operations, product ops, linkedin live, atlassian events, cross-functional collaboration, product management, engineering collaboration, design collaboration, atlassian learning, agile teams, product strategy

Product Ops Unpacked: 4️⃣ tips every product pro needs to know ✍️

Join PM Evangelist, Axel Sooriah, & Product Ops. Consultant & Advisor, Jenny Wanger, as they unpack the role of product ops and discuss key takeaways in Atlassian’s ‘The Product Ops Mission’ guide. They’ll answer your questions live on May 6 at 9:00am PT.

Register here ⬇️
AUG Leaders

Atlassian Community Events