I'm having a very strange error with two images attached to a topic. The entire space containing the topic was published from a private document development space to a public space that can be accessed by anonymous users. I've done this twice in the past with no problems.
The error is this: if I'm a logged in (internal user) I can see the two images (.png files) that are attached to the page. If I'm logged out (anonymous user) I see "Unknown Attachment" where the images should appear. If I hover over those Unknown Attachment inserts, I see the filenames for the attachments (xxxxxxxx.png), and if I click on them, I see the messagae "The requested content cannot be loaded. Please try again later."
I tried removing the images and re-uploading them, and still got the same error. I checked all the permissions on the space and topic, and they are identical to the other public versions. These are the only two attachments in the entire space with this issue. It seems like it must be a permissions problem of some sort, but I'm at loss for how to diagnose it.
This is usually a permissions problem. The attachment is usually on a page that has page restrictions, then copied over to a blog post or different page. If you make sure the original attachment is accessible or that it's copied over and reattached it should solve the problem in most cases.
Did you upload those .pngs files in the same space that has this specific page? Or you're getting it from other space? Can you double check if the the space has anonymous permission by going through the Space Tools?
Can you confirm, if when you put the name of the attachment in the search box with an anonymous user, you can see the attachment at least?
You might want to flush the index, and do a reindex just to see if this is an index problem.
The space with the problem attachments is a direct copy of another space, and the images are attached to the page itself, rather than being referenced from another space. The problem space does have anonymous view permissions set, and, as I said, these are the only images in the space that are not displaying correctly.
If I search for the image as an anonymous user I am able to find it in the search results as an attachment on the page, and when I click on the image name, it displays correctly.
Yeap. I was trying to avoid that, but it may be the only way. The only other way is to provide 'Anonymous' access to the other space I'm pulling the picture from so it cascades to the space that's not working. The latter is what I'm doing now because I have about 40 images on this one page and am not ready to do this on a picture by picture basis haha.
Thanks again David.
If you have the WebDav plugin installed you can interact with Confluence as if it were a filesystem of folders and files. So, you could navigate to the page and just delete the images and recopy them to the page and it would take you all of 30 seconds to do.
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 ...
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!
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