[TYPO3-dev] cObjGet
Christian Welzel
gawain at camlann.de
Tue Mar 28 11:24:04 CEST 2006
Replying to meself...
This code did not work because there is no trailing slash
in the "import = uploads/tx_sngallery" line.
After appending the slash the image is shown as expected.
Correct code:
> 10 = IMAGE
> 10.file {
> import = uploads/tx_sngallery/
> import.field = media
> import.listNum = 0
> }
As this code is taken from http://www.typo3.net/tsref/functions/imgresource/
this site should be fixed by someone.
--
Viele Grüße, Christian Welzel
schech.net | Visuelle Kommunikation
Schillerstraße 2-B · 01326 Dresden
Fon +49-351-8361445
Fax +49-351-8361446
http://www.schech.net
More information about the TYPO3-dev
mailing list