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.
I've had issues like this before. What I did to fix it was I copied the attachment to my local machine and then deleted the one on the wiki page. Then I re-uploaded the attachment with the exact same name. After that it started working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of Confluence are you using? We're using 5.4.2 and having the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm on 5.4.4.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the info.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having the same problem. I do not want to have to copy and paste all of my images back to Paint or Paint.net(if I can avoid it).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are having the exact same issue. We have 4.3.3. The only problem is that when we delete the image and then try again then we are able to view it. Please help us find a resolution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Phil,
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.
Cheers,
WZ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the flush and re-indexing, and still have the same problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We've got the same problem with all PNG images and also with WebP images. None of them apart from JPEGs are shown for external users
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.