Issue Bug Closed

#64339multilangual site and image from resources

Tomasz Krawczyk 01/18/15, 08:56 updated 08/22/16, 10:34

Description

Hi!

I have site with 4 languages and 7 pages on 1 level (root is 0). On all languages I have the same banner for page. So, on /kontakt/ (PL) is the same image as /contact/ (EN) and so on. So I added image only to page resources.

In TYPO3 6.1.12 that TS was working on all languages:

#
# Page Banner
#
lib.pageBanner = COA
lib.pageBanner {

    cache.key = pageBanner_{page:uid}_{TSFE:sys_language_uid}
    cache.key.insertData = 1

    10 = FILES
    10 {
        references {
            #data =  levelmedia: -1,slide
            table = pages
            uid.data = leveluid: -1, slide
            fieldName = media
        }
        renderObj = IMAGE
        renderObj {
            file.import.data = file:current:publicUrl
            file.maxH = 161
            file.maxW = 880
            #file.import.override.field = media
            file.treatIdAsReference = 1
            titleText.data = page:title
            altText.data = page:title
        }
    }
}

After upgrade to 6.2.9 it is not working. My friend told me that I should add images to resources of all alternative language records. I think it should work as in 6.1 or it should be some TypoScript instruction to achieve this.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.