[TYPO3-english] IMG_RESOURCE media field for page

Sergio Catalá scatala.enet at gmail.com
Sun Feb 1 13:14:52 CET 2015


Thanks for your suggestion, Tonke. It worked!
Regards,
Sergio

On 23 January 2015 at 14:13, T. F. Koch <tonke at mikokosmos.de> wrote:

> 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
> >
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list