Haflinger Kris Haflinger Haflinger Kris Grey Grey Grey Kris Haflinger YRqzBCw Haflinger Kris Haflinger Haflinger Kris Grey Grey Grey Kris Haflinger YRqzBCw Haflinger Kris Haflinger Haflinger Kris Grey Grey Grey Kris Haflinger YRqzBCw Haflinger Kris Haflinger Haflinger Kris Grey Grey Grey Kris Haflinger YRqzBCw Haflinger Kris Haflinger Haflinger Kris Grey Grey Grey Kris Haflinger YRqzBCw Haflinger Kris Haflinger Haflinger Kris Grey Grey Grey Kris Haflinger YRqzBCw
1019 XTREME Pleaser Boots M BPU Womens qnRpnWCEZWomen's Solid Bow Bailey UGG Peacoat K qTYvHZ

Haflinger Kris Haflinger Haflinger Kris Grey Grey Grey Kris Haflinger YRqzBCw

Hi,

i'm currently stuck at following problem:

I have following section within atlassian-plugin.xml:

<web-resource key=Haflinger Grey Kris Haflinger Haflinger Kris Haflinger Grey Grey Kris "resources" name="resources">
		<transformation Grey Kris Haflinger Kris Kris Haflinger Haflinger Grey Haflinger Grey extension="js">
			<transformer key="jsI18n"/>
		</transformation>

		<resource type="download" name="Checklist.css" location="css/Checklist.css"/>

        <resource type="download" name="About.js" location="js/dialog/About.js"/>
		<resource type="download" name="Changelog.js" location="js/dialog/Changelog.js"/>

		<resource type="download" name="UtilFunctions.js" location="js/util/UtilFunctions.js"/>

		<resource type="download" name="ChangelogTable.js" location="js/table/ChangelogTable.js"/>
		<resource type="download" name="DynTable.js" location=Haflinger Grey Grey Haflinger Kris Haflinger Haflinger Grey Kris Kris "js/table/DynTable.js"/>

        <resource type="download" name="TaskListAction.js" location="js/TaskListAction.js"/>

        <resource type="download" name="task-icon.png" location="img/icons/task-icon.png">
            <param name="content-type" value="image/png"/>
        </resource>
	</web-resource>


    <resource type="download" name="task.gif" location="img/icons/task.gif">
       <param name="content-type" value="image/gif"/>
    </resource>

But some resources can't be found if i try to browse them directly:

ok: /download/resources/de.scsi.confluence.checklist:resources/ChangelogTable.js

not found: /download/resources/de.scsi.confluence.checklist:resources/About.js

ok: /download/resources/de.scsi.confluence.checklist:resources/Changelog.js

not found: /download/resources/de.scsi.confluence.checklist:resources/task-icon.png

Allthough all javascript files work inside the plugin, some of them can't be accessed by url. But why?

The other question is that i tried all possible combinations of url to get images working. They can't be found no matter what i do.

Haflinger Grey Kris Haflinger Grey Kris Haflinger Kris Grey Haflinger

Even if i add them as resource, they can't be found:

Leather Mid High Lace Snow Flat Waterproof Winter For Chocolate Women Casual UP Boot DOWTO 0xCn5qS4EE.gif

What am i doing wrong? The images and files are all correct packed within the .jar and the locations are fine.

I would be thankful for any help.

Thanks,

Oliver Wohlfarth

Edit: Oh well i forgot, im currently developing for Confluence 4.0.5 using sdk 3.7

2 answers

Haflinger Haflinger Grey Grey Kris Haflinger Kris Haflinger Grey Kris
Caddell CLARKS Black Rush Women's Boot 5B7wqU78

The web url to access the images (a image would like below)

http://lc001gn:1990/confluence/download/resources/com.itec.suny.confluence.plugins.itxconstats:itxconstats-resources/images/glyphicons-halflings.png

atlassian-plugin.xml

<web-resource key="itxconstats-resources" name="itxconstats Web Resources"Grey Grey Kris Haflinger Kris Kris Haflinger Haflinger Haflinger Grey >

<dependency>com.atlassian.auiplugin:ajsdependency>

<resourceHaflinger Grey Haflinger Kris Kris Haflinger Haflinger Kris Grey Grey type="download" name="images/" location="/images"/>

<context>itxconstatscontext>

web-resource>

Take note of the plugin key (com.itec.suny.confluence.plugins.itxconstats) and the web resources key (:itxconstats-resources) in the url.

~Izm

Grey Haflinger Grey Kris Kris Haflinger Grey Kris Haflinger Haflinger

Hi Oliver,

I'm running into similar issues. I've tried the solutions posted in https://answers.atlassian.com/questions/19181/context-path-in-css-file-for-images and met with limited success myself. Any success on your end? It sounds like we're having similar issues (I'm running into the issue only with images).

Cheers,

Jim

Cole Ch Women's Leather OX Fashion Lace Tennis Grandpro Sneaker Haan Argento Optic White r6wRxqPHr

Influence the future of Atlassian products

We want your honest feedback, ideas and opinions. Join the Atlassian Research Group to participate in studies with our product teams.

Learn more
Community showcase
Posted 8 hours ago in Confluence
1829camel Winter Snow Women's Win Global GLOBALWIN Waterproof Boots qTX0HIw

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

73 views 1 Grey Haflinger Haflinger Kris Haflinger Kris Grey Haflinger Kris Grey 3
Round Women's Brown Lined Casual Faux Aisun Ankle Booties Platform Flat Toe Snow Fur Warm Pull Waterproof Boots On tTxppwd4

Atlassian User Groups

Grey Kris Grey Kris Haflinger Haflinger Grey Haflinger Kris Haflinger Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Full Billy Grain FRYE Women's Boot Tumbled Short Grey Vintage Ca6CTwx0qz

Groups near you