Posted By

dominikweber on 01/31/10


Tagged

php typo3 gifbuilder


Versions (?)

Bilder in Extensions dynamisch erzeugen (GIFBuilder, PHP)


 / Published in: PHP
 

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

  1. $imgpath='uploads/pics/';
  2. $ts['img']='IMAGE';
  3. $ts['img.']['file']=$imgpath.$this->cObj->data['image'];
  4. $ts['img.']['format']='jpg';
  5. $ts['img.']['altText']=$this->cObj->data['altText'];
  6. $ts['img.']['titleText']=$this->cObj->data['titleText'];
  7. if ($this->cObj->data['imagewidth']) {
  8. $ts['img.']['file.']['maxW']=$this->cObj->data['imagewidth'];
  9. }
  10. $img=$this->cObj->IMAGE($ts['img.']);

Report this snippet  

You need to login to post a comment.