Skip to content

Instantly share code, notes, and snippets.

@christianhaendel
Created November 15, 2015 12:12
Show Gist options
  • Save christianhaendel/312d1ab1b1bf0c956e90 to your computer and use it in GitHub Desktop.
Save christianhaendel/312d1ab1b1bf0c956e90 to your computer and use it in GitHub Desktop.
tt_content.image.20.1.layout.default.element.override.cObject = CASE
tt_content.image.20.1.layout.default.element.override.cObject {
key.data = file:current:extension
svg = TEXT
svg {
value = <img src="{file:current:publicUrl}" width="{field:imagewidth}" height="{field:imageheight}"###PARAMS######ALTPARAMS######BORDER######SELFCLOSINGTAGSLASH###>
insertData = 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment