Zum Inhalt springen

params = (width=50, height=50)

Erstellt am 19. November 2007 · Noch keine Antworten

Tags: Frage

phlipmaster ·

hallo zusammen,

habe folgendes problem: ich möchte ein via gifbuilder erstelltes bild kleiner ausgeben als es ist. eimn script sieht wie folgt aus:

plugin.tx_firbild2spaltig_pi1 = TEMPLATE
plugin.tx_firbild2spaltig_pi1 {
	template = FILE
	template.file = EXT:fir_bild_2spaltig/templates/template.html
	marks.BILD = IMAGE
	marks.BILD {
		file = GIFBUILDER
		file {
			format = png
			XY = 100, 100
			10 = IMAGE
			10 {
				align = c,c
				file.import = uploads/tx_firbild2spaltig/
				file.import.field = tx_firbild2spaltig_bild

				file.minH = 100
				file.maxW = 100
			}
      		}
      	params = (width=50, height=50)      	
      	     }
  	marks.UNTERTITEL = TEXT
  	marks.UNTERTITEL {
	field = tx_firbild2spaltig_titel
  	}
}

tt_content.fir_bild_2spaltig_pi1.20 < plugin.firbild2spaltig_pi1

funktioniert auch alle einwandfrei - nur die parameter werden aus der orginaldatei übernommen (also 100,100) und nicht aus meinen params. sobald ich einen parameter setze, der noch nicht existiert (zb. hspace) funktionierts, nur bei den bereits vorhandenen nicht. hat jemand eine idee?

vielen dank im vorraus, philipp