[TYPO3-english] IMG_RESOURCE media field for page

T. F. Koch tonke at mikokosmos.de
Fri Jan 23 14:13:42 CET 2015


Hi Sergio,

for TYPo3 6.2 you need:

file.treatIdAsReference = 1

See:
http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Imgresource/Index.html

Greetings
Tonke	



Am 23.01.2015 um 13:51 schrieb Sergio Catalá:
> Hi list,
> 
> The next Typoscript that gets the "media" field for a page worked in Typo3
> 6.1:
> 
> lib.pageImageResource = IMG_RESOURCE
> lib.pageImageResource {
>         file.import.override.field = media
>         file.import = uploads/media/
>         file.import.data = levelmedia:-1, slide
>         file.import.listNum = 0
>         file.import.listNum.splitChar = ,
>         stdWrap.wrap = |
>         required = 1
> }
> 
> But not when upgrading to 6.2.
> Would you know how to get the proper behaviour now?
> I am not very used to the new FAL structure.
> 
> Thanks in advance,
> Sergio
> 


More information about the TYPO3-english mailing list