Skip to content

Instantly share code, notes, and snippets.

@paulrohrbeck
Last active January 1, 2016 13:49
Show Gist options
  • Save paulrohrbeck/8153614 to your computer and use it in GitHub Desktop.
Save paulrohrbeck/8153614 to your computer and use it in GitHub Desktop.
TYPO3: Random image, not cached, pulled from media reference on page record.
lib.randomImage = COA_INT
lib.randomImage {
10 = IMAGE
10 {
file {
import = uploads/media/
import.data = levelmedia:-1, slide
import.listNum = rand
width = 1000
height = 500c
treatIdAsReference = 1
}
params = class=""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment