![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| ||||
| ||||
Hallo Community,... ich versuch jetzt schon länger das Bild bei displayList mit einem png zu maskieren, aber weiter als bis zu einem weißen Bild bin ich nicht gekommen, irgendwie will er das eigentliche Bild aus dem Newseintrag nicht laden ![]() Momentan schaut der Code so aus (noch das "beste" Ergebnis damit erzielt) Typoscript: Code: plugin.tt_news.displayList{
image.stdWrap.cObject >
image.stdWrap.cObject = IMAGE
image.stdWrap.cObject.file = GIFBUILDER
image.stdWrap.cObject.file {
XY = 110,70
10 = IMAGE
10 {
file.import.current = 1
offset=0,0
file.maxW = 110
file.maxH = 70
}
20 = IMAGE
20.file = fileadmin/templates/img/news_overlay.png
20.offset = 0,0
}
} Dankeschön //EDIT: Achja, ich bin mir sicher das es am import liegt, weil wenn ich dort einen fixen Pfad angeben funktioniert alles.
__________________ Two hours of trial and error can save 10 minutes of manual reading. www.stylisches.com | www.doppelpack.com Geändert von stylisches.com (23.06.08 um 16:52 Uhr). |
|
#2
| ||||
| ||||
| So....nach schier endlosen Versuchen und extremen Abschweifungen hab ich die Lösung selbst gefunden..... viel hat eigentlich nicht mehr gefehlt.... aber da es zu diesem Thema irgendwie noch nirgends wirklich ansätze gab hatts ein bisschen gedauert. Typoscript: Code: plugin.tt_news.displayList{
image >
image.stdWrap.cObject = IMAGE
image.stdWrap.cObject.file = GIFBUILDER
image.stdWrap.cObject.file {
XY = 114,79
backColor = #84B816
10 = IMAGE
10 {
offset = 3,4
file.import=uploads/pics/
file.import.data = field:image
file.import.listNum = 0
file.import.override.field = image
file.maxW = 110
file.maxH = 70
}
20 = IMAGE
20.offset = 0,0
20.file = fileadmin/templates/img/news_overlay.png
}
}
__________________ Two hours of trial and error can save 10 minutes of manual reading. www.stylisches.com | www.doppelpack.com |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| tt_news: typolink Problem mit Image | jcl | News (tt_news, mininews und Co) | 0 | 20.05.08 17:33 |
| Image / Text with Image: Bild wird nicht angezeigt; Probleme mit Breite/Höhe | automatix | TYPO3 4.x Backend | 0 | 24.08.07 15:27 |
| displayList und ATagParams | matthias3000 | News (tt_news, mininews und Co) | 0 | 23.08.07 11:07 |
| Image Only / Text w/image: Pfade und Namen der Bilder | automatix | TYPO3 4.x Fragen und Probleme | 7 | 22.01.07 11:06 |
| displayList per TypoScript einbinden | .nk | News (tt_news, mininews und Co) | 2 | 16.03.06 15:25 |