I have exported a big bunch of pages from my documentation space to HTML. It doesn't look super pretty but overall it's pretty usable. However, there are a number of images that are just randomly missing. They appear as broken image tags in my browser, and navigating the local file structure verifies they are not in the attachments folder where they should be.
I can't seem to identify anything different about the missing images vs. other images that came through just fine. Even on the same page, some images will be there and others are missing.
One strange thing I noticed when looking at a page with missing images, is in the list of attachments at the bottom of the page, the image names for the missing ones look different from the ones that are there.
Instead of showing "image-XYZ-NMP.png (image/png)" it shows something like "imageDATESTRING .png?version=1&modificationdate=XYZ&cacheVersion=1&api=v2 (image/png)" But the actual image link looks similar to the other ones. There is no local file that maps to the actual link or the bogus string shown on the page.
Hello @Laura McWilliams!
As I understand, you are facing a situation where random image files are missing from the HTML export you just created.
I tried to replicate this behavior but was unable to. With this in mind, I would like to ask you a few questions:
- How many pages did you export with this HTML export in Confluence?
- Do you have an estimate of how many images are there on a page that displays this behavior?
- What is the file type of the affected image files?
- Are the affected images inside a macro such as the Excerpt Macro?
- Are the affected images included from somewhere else other than the files uploaded to the page itself (giphy, drive, excerpt include macro, page include macro)?
Let us hear from you!
Yes, you are correct about the situation.
1. I count 92 html files from the export. I counted 300 .png images.
2. I have found instances of the behavior on pages with quite a few images, like 10 or so, but also on pages where there were only like 3 images.
3. All of the images are .png files.
4. No, I don't think ANY of the affected ones are inside of a macro.
5. No, all of the images were added to the page itself.
Thanks in advance for your help.
Hi Diego, I'm experiencing a similar issue. We've set up a parallel space in confluence to an existing space. In pages in the existing spaces we use the Excerpt Includes macro for content we want to expose to customers, and call that macro in pages in the external space. We then need to export the space to HTML where we then process is and display in another framework. We have a handful of images (attachments) which, while pointed to in the html code are actually missing from the exported files. Is this a known issue? Is there any way to resolve this?
Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events