Skip to content

Instantly share code, notes, and snippets.

@jverweijL
Created June 21, 2021 17:48
Show Gist options
  • Save jverweijL/1ab2e20ca371f5d7af4428ca0957fa1a to your computer and use it in GitHub Desktop.
Save jverweijL/1ab2e20ca371f5d7af4428ca0957fa1a to your computer and use it in GitHub Desktop.

I needed the logo of an organization within a fragment and perhaps you can embed it somewhere in the fragments library

<div class="fragment_1301">
	[#assign org = user.getOrganizations() /]
	[#if org?has_content ]
		[#assign logoid = org[0].getLogoId() /]
		<img src="/image/layout_set_logo?img_id=${logoid}"/>
	[/#if]
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment