Bilder in Extensions dynamisch erzeugen (GIFBuilder, PHP)


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your 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.']);

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.