[TYPO3-english] Load Random Image from Directory into a Subpart

Christian Hennecke christian.hennecke at wunderknaben.com
Fri Jun 21 10:31:16 CEST 2013


Am 21.06.2013 09:59, schrieb Scotty C:

Hi Scott,

> Thanks for the speedy reply! Unfortunately, that didn't work. Specifically, I have:

[snip]

>        subparts.TOP_BANNER_AD = IMAGE
>        subparts.TOP_BANNER_AD.import {
>           filelist = fileadmin/images/|jpg,png,gif|ext|r|1

You are missing the file property here:

         subparts.TOP_BANNER_AD.import {

Should be

         subparts.TOP_BANNER_AD.file.import {

Cheers,

Christian


More information about the TYPO3-english mailing list