[TYPO3-english] GIFBUILDER problem

Jan Kornblum jan.kornblum at gmx.de
Mon Aug 11 12:42:07 CEST 2014


Hi newsgroup,

i want GIFBUILDER to create dynamic sized images (up to an upper limit) 
with a centered watermark on it:

file = GIFBUILDER
file {
	XY = [10.w],[10.h] # This *does* work!
	10 = IMAGE
	10 {
		# The image itself
		file{
			import.current = 1
			maxW = 600
			maxH = 600
		}
	}
	20 = IMAGE
	20 {
		# The watermark overlay
		file = watermark.png
		file{
			width = [10.w]/2 # This does not work!
			height = [10.h]/2 # This does not work!
		}
		offset = [10.w]/2-[20.w]/2,[10.h]/2-[20.h]/2 # This does not work!
	}
}

Where is my mistake?

Kind regards, Jan




More information about the TYPO3-english mailing list