GIFBUILDER in php


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



Copy this code and paste it in your HTML
  1. $img['file'] = GIFBUILDER;
  2. $img['file.']['XY'] = $conf['userFunc.']['breiteRight'] . ',' . $conf['userFunc.']['hoeheRight'];
  3. $img['file.']['altText'] = 'Aktuelle Ausgabe';
  4. $img['file.']['titleText'] = 'Aktuelle Ausgabe';
  5. $img['file.']['10'] = IMAGE;
  6. $img['file.']['10.']['file'] = 'uploads/media/' . $result['media'];
  7. $img['file.']['10.']['file.']['width'] = $conf['userFunc.']['breiteRight'];
  8. $img['file.']['10.']['file.']['height'] = $conf['userFunc.']['hoeheRight'];
  9. $img['file.']['20'] = 'BOX';
  10. $img['file.']['20.']['dimensions'] = '4,4,[10.w]-2,[10.h]-2';
  11. $img['file.']['20.']['color'] = '#cccccc';
  12. $img['file.']['30'] = 'EFFECT';
  13. $img['file.']['30.']['value'] = 'blur=50';
  14. $img['file.']['50'] = IMAGE;
  15. $img['file.']['50.']['file'] = 'uploads/media/' . $result['media'];
  16. $img['file.']['50.']['file.']['width'] = $conf['userFunc.']['breiteRight'];
  17. $img['file.']['50.']['file.']['height'] = $conf['userFunc.']['hoeheRight'];
  18. $img['file.']['50.']['offset'] = '1,1';
  19.  
  20. return $this->cObj->IMAGE($img);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.