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, rovo agent workshop, build a rovo agent, interactive workshop, Atlassian Intelligence, rovo agent building, automated triage, ai agents, cloud app development, atlassian learning, rovo studio, developer productivity, Rovo workshop

Let's build A Rovo Agent 🤖

Want to build your own Rovo Agent? Join this interactive workshop and dive into a powerful Rovo use case: improving resolution time with automated triage.

Save your spot
AUG Leaders

Atlassian Community Events