Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Some images do not show up after publishing new changes on a page

Boris MBOUMEHANG
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 18, 2019

Hello All,

 

Hope this mail finds you well. First of all, happy new year to all of you! :)

I noticed an issue while editing a Confluence Cloud page. In fact, I tried to add some images in the page below, but when we publish the changes, the new images:

1. either does not show up;

2. or shows the message "Broken image"

I tried to delete some attachments in the page (by following this tutorial https://confluence.atlassian.com/confcloud/manage-files-724765113.html) but I did not get any change. In addition, I tried clearing the Chrome and Firefox caches (they are both in their latest versions), but did not get any answer. IE11 does not seem to show Confluence pages since few days (I guess it is my computer's issue), but it images shown up very well before (while not showing up for Chrome and Firefox). 

Could you help us to solve this issue please?

Thank you in advance :)

Best regards, 

Boris

1 answer

1 accepted

2 votes
Answer accepted
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 28, 2015

You could create a user macro that will implement the profile macro and put in the current user as the profile macro property. It would be something like this below.

## @noparams
 
<ac:structured-macro ac:name="profile">
	<ac:parameter ac:name="user">
		<ri:user ri:userkey="${action.authenticatedUser.key}"/>
	</ac:parameter>
</ac:structured-macro>
Chris Hayes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 28, 2015

Great suggestion. Thanks! Do you have any idea as to how to customize the fields generated by the Profile macro? There doesn't seem to be any customization options available for that. I suppose it would require another user macro?

YJ Huang
January 21, 2016

Hi Davin,

Where do you put these codes you write "

<ac:structured-macro ac:name="profile-picture">
<ac:parameter ac:name="User">
<ri:user ri:userkey="12345678912345678912345"/>
</ac:parameter>
</ac:structured-macro>" ?

In a velocity(.vm) file or .proverties file?

Could you please provide an example, thanks.

 

Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 22, 2016

You put them in a user macro. You can create a user macro in Confluence Admin. Once you've created the user macro it will show up in the editor macro browser.

image2016-1-22 8:53:44.png

Michelle Rau HP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 9, 2020

This looks like just what I need. I see this answer is from 2016. Is this still up to date, we are using Confluence data center.

Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 9, 2020

Yep. Should still work.

Michelle Rau HP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 9, 2020

Super, I will work with our system admin to give it a try. BTW I am also in "the other Vancouver." :-) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events