It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to display space logo by user macro

Hi Community,

we are going to display a list of spaces, filtered by category as mentioned here. The macro code given there is working well (Ver 6.6)

As we're using descriptive icons along with spaces, I want to display an ordered list of spaces just as it's looking in the "Space directory"  Have searched the web as well as Atlassian community but didn't find any hints. 

Many thanks in advance!

1 answer

...

#foreach ( $space in $spaces )

...

    $spaceManager.getLogoForSpace($!space.key).getDownloadPath()

...

#end

...

Hi Dmitry,

I tried

<td class="confluenceTd"><img class="space logo" width="32" height="32"
src="$spaceManager.getLogoForSpace($!space.key).getDownloadPath()"/> <a  href="$req.contextPath$space.getUrlPath()">$space.getName()</a></td>

 I get the space name and link, but the for the logo I only get the "image not found icon".
Do you have an idea?

Hi Florian, Dmitry

Download path would require the users to have access to the space for download the logo still.

I.e. I am facing the same issue and try to find a way how the logo could be displayed to users that don't have access to the respective space.

Anyone any idea?
Thanks,

René

Hi René,

sorry, I didn't get any further with this.

Even though I have access to the spaces, I can't get the logos.

Hi Florian, all

Please vote for https://jira.atlassian.com/projects/CONFSERVER/issues/CONFSERVER-58893 to get this addressed.

Thanks,

René

Like Florian_Luber likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

333 views 9 7
Join discussion

Community Events

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

Events near you