[TYPO3-german] T3 6.1 | Bildzuschnitt und Bildgröße

Marco Brüggemann marco at schauart.de
Tue Nov 26 11:17:19 CET 2013


> a) "key.cObject.prioriCalc" statt "key.prioriCalc" ?
> b) warum überhaupt berechnen? CASE kann auch locker mit den Werten 
> 30...35 arbeiten
>
> bernd

Hallo,

ich habe jetzt Die Berechnung herausgenommen ( habe sie so auch meinem 
TS-Buch "Typo3 Kochbuch" übernommen). er hatte auf "page.99 < 
lib.bildbreite" auch die Deault-Ausgabe "150"

Problem ist immer noch (glaube ich), dass er "key.field = section_frame" 
aus der Position "tt_content.image.20.1.file.width" nicht auslesen kann.

lib.bildbreite = CASE
lib.bildbreite {
     key.field = section_frame
     default = TEXT
     default.value = 150
     30 = TEXT
     30.value = {$grid1.srg}
     31 = TEXT
     31.value = {$grid2.srg}
     32 = TEXT
     32.value = {$grid3.srg}
     33 = TEXT
     33.value = {$grid4.srg}
     34 = TEXT
     34.value = {$grid5.srg}
     35 = TEXT
     35.value = {$grid6.srg}
}

tt_content.image.20.1.maxH >
tt_content.image.20.1.maxW >
tt_content.image.20.1.file.width >
tt_content.image.20.1.file.height >
tt_content.image.20.equalH >
tt_content.image.20.equalW >
tt_content.image.20.1.maxH >
tt_content.image.20.1.maxW >
tt_content.image.20.1.file.width < lib.bildbreite
tt_content.image.20.1.file.height = 150c-50

@ Ralf-Rene
Habe jetzt auch "temp.bildbreite" auf "lib.bildbreite" geändert. hat 
aber nichts gebracht. Ich dachte immer, dass das ein frei wählbarer Name 
ist, da jeder andere Präfix (z.B. "tmp.bildbreite") bei mir auch immer 
gut funktionierte ...

Marco.


More information about the TYPO3-german mailing list