Export images in Diagramly diagrams to PDF

I want to be able to export diagrams on a confluence page to PDF. These diagrams were built using Diagramly and include embedded images.

Right now the images don't export.

4 answers

Hi Heather,

We do have a bug report opened for it as you can see below:
https://jira.atlassian.com/browse/CONF-25334

I raised a bug report for that [CONF-25335|https://jira.atlassian.com/browse/CONF-25335].

I would strongly suggest that you vote on this issue to increase its popularity and add it to your watchlist for future updates.
Cheers,
WZ

So am I understanding you to say that this is a known issue with no plans to resolve it?

Please submit this to us direct at jgraph.freshdesk.comas a ticket so we can look in more detail (note that without the diagramly tag, now added, we don't get notification of questions here).

I work with Heather (above). The issue seems to be before the pdf export. It is actually when the Diagram is saved. If we edit the diagram, click save, click exit, then look at the attachments on the page, we see the png that Diagramly creates. Though, we can see the image in the diagram when viewing the page or editing the diagram, it is not present in the created png, and thus doesn't export.

I tried an image from our test server (we are self hosted), and it does work. Very strange! Here are screenshots:

EDIT:

PAGE + ATTACHMENTS:

CREATED PNG:

The problem is the viewing permissions of image export code running of your server differ from those of your browser logged in my your user. We're looking into a workaround for this.

Ok, thanks. Can you post again here when you have a fix?

As a workaround while we look into solutions, you can now drag and drop images from your filesystem into the diagram and they will export to both image and PDF format correctly. So if you save your image and re-insert it into the diagram this way, you'll get your PDF on export.

You do version 3.0.0 for this.

Thanks for this tip but this isn't a good work around for us. We want to be able use the same images in multiple places and only have to update one image source. The method you suggest would require us to update every image in every instance that we use it.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

264 views 11 10
Join discussion

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