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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

136 views 0 4
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