Customized PDF Now Displaying images.

Hi all,

I have customized pdf which is generating pdf for given set of pages.

which is working fine with 3.1.2 which is wiki based system.

now i have upgraded system to 4.2 where i am able to generate the pdf but the images are not rendering.

while analyzing technically i found :-

1) URL base = new URL(baseUrl);
String contextPath = base.getPath();

Contextpath is returning the " " value.

2) All images are available in downloads/attachments folders. which i want to use in my application.

please suggest few points where i can work out further.

3) Its displaying me the A wherever the image is required.?


tousif shaikh.

2 answers

1 accepted

1 vote
Accepted answer

What do you mean by customized is it through plugin or your using as part of confluence.

1 vote

You should check that your base URL is set correctly.

If it is correct, then raise a support ticket so that we can look further into the problem.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,109 views 59 8
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