Skip to content

Instantly share code, notes, and snippets.

@sorenmalling
Created October 21, 2014 12:05
Show Gist options
  • Select an option

  • Save sorenmalling/98f84ee407618d5a9b28 to your computer and use it in GitHub Desktop.

Select an option

Save sorenmalling/98f84ee407618d5a9b28 to your computer and use it in GitHub Desktop.
renderObj = IMAGE
renderObj {
file {
import.data = file:current:uid
treatIdAsReference = 1
}
altText = TEXT
altText {
data = file:current:title
# Image render fails if altTet contains comma
replacement {
10 {
search = ,
replace = x
}
}
}
# Only render the teaser image
if {
isTrue.data = file:current:tx_boliusgallery_teaserimage
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment