Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jsieber/1bf73cf46182420c25fd to your computer and use it in GitHub Desktop.
Save jsieber/1bf73cf46182420c25fd to your computer and use it in GitHub Desktop.
<!--- Assuming you've created an extended attribute 'File' type called 'extAttributeImage' --->
<!--- In a Mura Page Template --->
#$.createHREFForImage(filename=$.content('extAttributeImage'),size='myCustomSize')#
<!--- In a Mura Component --->
#$.createHREFForImage(filename=$.component('extAttributeImage'),size='myCustomSize')#
<!--- In the context of an iterator --->
#$.createHREFForImage(filename=item.getExtAttributeImage(),size='myCustomSize')#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment