[TYPO3-german] Bildskalierung in TCA-wizards (Aufruf von Methoden aus tslib_pibase)
David Bruchmann
david at bruchmann-web.de
Tue Aug 18 13:45:12 CEST 2009
----- Ursprüngliche Nachricht -----
Von: Rainer Schleevoigt <rainer at webmasterei-hamburg.de>
Gesendet: Dienstag, 18. August 2009 13:35:57
An: German TYPO3 Userlist <typo3-german at lists.netfielders.de>
CC:
Betreff: [TYPO3-german] Bildskalierung in TCA-wizards (Aufruf von
Methoden aus tslib_pibase)
> Moin,
>
> in einem Wizard, der Flashbildergalerien verwaltet, muss ich die Bilder via
>
> $bars = array();
> foreach($images AS $foo) {
> $imgConf = array();
> $imgConf['file'] = $foo;
> $imgConf['file.'] = array('maxW' => '360');
> array_push($bars,$this->cObj->IMG_RESOURCE($imgConf));
> }
>
> skalieren. Hat in diese Richtung schon mal jemand gedacht und hat einen
> Tipp?
>
>
> Gruß Rainer
Hallo Rainer,
ja per TS:
---TS---
10.meinObject.cObject = IMG_RESOURCE
10.meinObject.cObject {
file = GIFBUILDER
file {
format = png
quality = 100
XY = 450,600
# width = 200
# height = 150
#transparentBackground = 1
10 = IMAGE
10 {
file = uploads/tx_meine_erweiterung/###Mein_Marker###
# offset = 0,0
border=20
file.height = 600c+30
file.width = 450c-25
frame = ""
}
...
}
...
}
---/TS---
Viele Grüße
David
More information about the TYPO3-german
mailing list