Zum Inhalt springen

topicicon mit transparenz rendern

Erstellt am 2. März 2009 · 3 Antworten · letzte Antwort am 5. April 2009

Tags: Frage

jlang ·

Hallo,

ich verwende in mm_forum die "modern" topicicons und habe das Problem, dass bei den überlagerten Symbolen wie Fragezeichen und Häckchen den Hintergrund nicht transparent gerändert werden.

Nach dem Motto doppelt gemoppelt, habe ich bei jedem icon aus der Bedingung ein transparentBackground = 1 hinzugefügt

plugin.tx_mmforum_pi1.topicIcon.file.1 = IMAGE
plugin.tx_mmforum_pi1.topicIcon.file.1.file = fileadmin/ext/mm_forum/tmpl/test/img/default/read_new.gif
plugin.tx_mmforum_pi1.topicIcon.file.1.file.transparentBackground = 1
plugin.tx_mmforum_pi1.topicIcon.file.2 = IMAGE
plugin.tx_mmforum_pi1.topicIcon.file.2.file = fileadmin/ext/mm_forum/tmpl/test/img/default/read.gif
plugin.tx_mmforum_pi1.topicIcon.file.2.file.transparentBackground = 1
plugin.tx_mmforum_pi1.topicIcon.file.2.dimensions > 
plugin.tx_mmforum_pi1.topicIcon.file.2.color > 
plugin.tx_mmforum_pi1.topicIcon.file.1.color > 
plugin.tx_mmforum_pi1.topicIcon.file.1.dimensions > 
plugin.tx_mmforum_pi1.topicIcon.file.XY = 29,28
plugin.tx_mmforum_pi1.topicIcon.file.transparentColor = #ffffff
plugin.tx_mmforum_pi1.topicIcon.file.transparentBackground = 1
plugin.tx_mmforum_pi1.topicIcon.file.format = gif
plugin.tx_mmforum_pi1.images.info_mail_on = info_mail_on.gif
plugin.tx_mmforum_pi1.images.info_mail_off = info_mail_off.gif
plugin.tx_mmforum_pi1.images.favorite_on = favorit_on.gif
plugin.tx_mmforum_pi1.images.favorite_off = favorit_off.gif
plugin.tx_mmforum_pi1.images.solved_on = solved_on.gif
plugin.tx_mmforum_pi1.images.solved_off = solved_off.gif
plugin.tx_mmforum_pi1.images.favorite = favorit_on.gif
plugin.tx_mmforum_pi1.topicIcon.file.10.file.transparentBackground = 1
plugin.tx_mmforum_pi1.topicIcon.file.20.file.transparentBackground = 1
plugin.tx_mmforum_pi1.topicIcon.file.30.file.transparentBackground = 1
plugin.tx_mmforum_pi1.topicIcon.file.40.file.transparentBackground = 1
plugin.tx_mmforum_pi1.topicIcon.file.10.file.transparentColor = #ffffff
plugin.tx_mmforum_pi1.topicIcon.file.20.file.transparentColor = #ffffff
plugin.tx_mmforum_pi1.topicIcon.file.30.file.transparentColor = #ffffff
plugin.tx_mmforum_pi1.topicIcon.file.40.file.transparentColor = #ffffff
plugin.tx_mmforum_pi1.topicIcon.file.10.file.format = gif
plugin.tx_mmforum_pi1.topicIcon.file.20.file.format = gif
plugin.tx_mmforum_pi1.topicIcon.file.30.file.format = gif
plugin.tx_mmforum_pi1.topicIcon.file.40.file.format = gif

Das topicicon selbst hat transparenten Hintergrund, nur die Überlagerten Icons werden mit schwarzen Hintergrund gerendert.

Vielen Dank
JL

jlang ·

Hab was gefunden:

Die mini_*gif Icons haben keinen transparenten Hintergrund.

Habe bei den mini_*.gif Icons den Hintergrund mit Grafikprogramm transparent gemacht, dann funktionierts.

transparentColor = #fffffff

wird nicht interpretiert, oder ich was falsch verstanden.

Beste Grüße

Jlang