----- Ursprüngliche Nachricht -----
Von:        Rainer Schleevoigt <rai...@webmasterei-hamburg.de>
Gesendet:   Dienstag, 18. August 2009 13:35:57
An:         German TYPO3 Userlist <typo3-german@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
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german

Reply via email to