rendered paste bodyfunction renderImage($imagePath, $TSconf, $titleText, $altText) { $cObj -> data['tmpfile'] = $imagePath; $TSconf['titleText'] = $titleText; $TSconf['altText'] = $altText; return $cObj -> IMAGE($TSconf); } $myImage = $this -> renderImage('/uploads/whatever.jpg', $this -> conf['image.'], 'Title', 'Alt text'); TS looks like this: image = IMAGEimage.titleText.import.field = titleTextimage.file = GIFBUILDERimage.file { format = jpg XY = 150,150 10 = IMAGE 10.file.import.field = tmpfile 10.file.width = 150c 10.file.height = 150c}www.rvantwisk.nl