Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.