[TYPO3-german] GIFBUILDER

Karl-Heinz Fischbach c38sgzkz at averlon.net
Tue Apr 12 07:34:01 CEST 2016


Hi,
falls es mal jemand brauchen kann. Hier ist das funktionierende ergebnis:


lib.av_cal_week = IMAGE
lib.av_cal_week {
	file = GIFBUILDER
	file {
# hier wird das ganze bild in der ganzen größe gebaut. Das ursprungsbild ist ca. 200x200px
  	XY = [10.w],[10.h]
  	format = png
#  	maxWidth = 35
#  	maxHeight = 35
  	
  	10 = IMAGE
  	10.file = fileadmin/images/av_calendar.png
  	#10.file.width = 30
  	
  	20 = TEXT
  	20.text.data = LLL:EXT:cal/Resources/Private/Language/locallang.xml:l_week
  	20.fontColor = #ff8700
  	20.align = c,c
# hier wird ein text positioniert. Die größe muss ausprobiert werden wie sie in das originalbild passt.
  	20.offset = 0+[10.w]-[20.w]/2,0+[10.h]+[20.h]/2
  	20.fontSize = 72
#  	20.fontFile = typo3/sysext/core/Resources/Private/Font/nimbus.ttf
  	
# jetzt wird das ergebnis auf x-px skaliert (seitengleich)
  	30 = SCALE
  	30.width = 30
	}
	imageLinkWrap = 1
	imageLinkWrap {
		enable = 1
		typolink.parameter < plugin.tx_cal_controller.view.week.weekViewPid
	}
}

-- 
Regards
Karl-Heinz

Typo3: 7.6.4


More information about the TYPO3-german mailing list