Return to Snippet

Revision: 23142
at January 31, 2010 06:36 by dominikweber


Initial Code
$imgpath='uploads/pics/';
$ts['img']='IMAGE';
$ts['img.']['file']=$imgpath.$this->cObj->data['image'];
$ts['img.']['format']='jpg';
$ts['img.']['altText']=$this->cObj->data['altText'];
$ts['img.']['titleText']=$this->cObj->data['titleText'];
if ($this->cObj->data['imagewidth']) {
	$ts['img.']['file.']['maxW']=$this->cObj->data['imagewidth'];
}
$img=$this->cObj->IMAGE($ts['img.']);

Initial URL
http://www.pi-phi.de/rendering.html

Initial Description

                                

Initial Title
Bilder in Extensions dynamisch erzeugen (GIFBuilder, PHP)

Initial Tags
php

Initial Language
PHP