[TYPO3-english] PAGE in COA_INT?
Jacco van der Post
jacco at id-internetservices.com
Wed May 14 18:53:39 CEST 2014
Loek Hilgersom schreef op 14-5-2014 17:54:
>
> I just uploaded the latest version to github:
> See https://github.com/netcoop/random-image.css.php
Hey Loek,
Thx I will look into this. Do you include this as COA_INT, how about
caching?
I was also considering a js solution.
An inline solution is as simple as
page.headerData.10 = COA_INT
page.headerData.10 {
10 = IMG_RESOURCE
10 {
file.import.data = levelmedia: -1,slide
file.import.filelist =
fileadmin/user_upload/Achtergrond_afbeeldingen/ | jpg,jpeg,gif,png |
name | | 1
file.import.listNum = rand
stdWrap.wrap = <style type="text/css">body { background-image:
url('/|');}</style>
}
}
I wonder which of these script has the best performance.
--
Kind Regards
Jacco van der Post
More information about the TYPO3-english
mailing list