[Typo3-UG Oesterreich] gifbuilder mit masken
Wolfgang Klinger
wolfgang at stufenlos.net
Thu Sep 2 08:38:05 CEST 2004
Hallo!
Glaser Viktor schrieb folgendes am 02.09.2004:
> marks.TEXT = IMAGE
> marks.TEXT.file = GIFBUILDER
> marks.TEXT.file {
> XY = [10.w]+5, [10.h]
> backColor =#000000
> transparentBackground = 1
> 10 = IMAGE
> 10 {
> file= fileadmin/template/mask.png
> mask= fileadmin/template/Wasserlilien.png
> }
> }
>
> würd ja funktionieren nur das bild ist jetzt negativ ohne farbe
> was ist da falsch===?
wenn du hier nachliest, braucht's ein wenig mehr:
http://typo3.org/documentation/document-library/doc_core_tsref/imgResource
Am besten siehst du dir die Beispiele in der testsite [1] an.
(--> Intro/Another site/Cool example)
Und hier findest du auch noch einige Beispiele:
http://typo3.org/documentation/document-library/doc_core_tsbyex/A_regular_file_as_in/
Mit folgendem TS maskierst du z.B. alle Bilder automatisch:
(wenn sie einen Rahmen gesetzt haben)
(dieses Feld wird seltsamerweise von css_styled_content unterdrückt,
aber das ist eine andere Geschichte)
--------
tt_content.image.20.image_frames.1.bgImg = GIFBUILDER
tt_content.image.20.image_frames.1.bgImg.XY = 100,100
tt_content.image.20.image_frames.1.bgImg.backColor = #ffffff
tt_content.image.20.image_frames.1.bottomImg = GIFBUILDER
tt_content.image.20.image_frames.1.bottomImg.XY = 100,100
tt_content.image.20.image_frames.1.bottomImg.backColor = black
tt_content.image.20.image_frames.1.bottomImg_mask = fileadmin/my_bottom.jpg
tt_content.image.20.image_frames.1.mask = fileadmin/my_mask.jpg
--------
Beispiele für Masken (wie die Bilder auszusehen haben) findest du in
deiner Typo3 Installation unter /media/frames/
lg
Wolfgang
[1] http://typo3.org/download/packages/
Amazon wishlist: http://www.amazon.de/exec/obidos/registry/307SIOOD654GF/
(tia)
____________________________________________________
Wolfgang Klinger wolfgang(at)stufenlos.net
http://www.stufenlos.net/
More information about the TYPO3-at
mailing list