Diagramly wont show images correctly under HTTPS with context path

Diagramly latest on Confluence latest worked perfectly 2 hours ago.

Confluence was secured with HTTPS reverse proxy and alas -- garbage instead of real diagrams.

On closer inspection image URLs are not including correct context path, e.g.

https://myhostname/download/resources/com.mxgraph.confluence.plugins.diagramly:diagramly-editor/img/lib/clip_art/computers/Virtual_Application_128x128.png

shall actually have been:

https://myhostname/wiki/download/resources/com.mxgraph.confluence.plugins.diagramly:diagramly-editor/img/lib/clip_art/computers/Virtual_Application_128x128.png

because context path "/wiki" is configured inside server.xml

2 answers

We will look into it. What version of Confluence are you using?

Are you saying plugin works correctly for you with http but not with https?

Confluence is 4.3.3

On even close inspection I can see this:

<mxCell id="92" value="Internet" style="image;image=/download/resources/com.mxgraph.confluence.plugins.diagramly:diagramly-editor/img/lib/clip_art/networking/Cloud_128x128.png"....

And this naturally does not contain image=/wiki/ in front of the URL...

Plugin shall be looking at application context when injecting img links...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

335 views 0 1
Read article

Atlassian User Groups

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. Learn more about AUGs

Groups near you