[TYPO3-dev] cObjGet
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Mar 28 12:47:31 CEST 2006
Christian Welzel schrieb am 28.03.2006 11:24:
> 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.
I think the translated TSref from typo3.net is not endorsed or
maintained by some official TYPO3 means. And I don't thing someone is
actively synching the changes that are made to the official TSref
document into this translation.
The right place to get up-to-date information is typo3.org:
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/2/
Here you see the ending "slash".
Cheers,
Ernesto
More information about the TYPO3-dev
mailing list