View Single Post
ישן 15-10-06, 20:23   # 3
Matchs
תודה על תרומתך.
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: מרכז.
הודעות: 935

Matchs לא מחובר  

PHP קוד:
<?php
$filename 
"file";

header('Content-type: image/jpeg');
$newwidth "width";
$newheight "height";
$thumb imagecreatetruecolor($newwidth$newheight);
$source imagecreatefromjpeg($filename);

imagecopyresized($thumb$source0000$newwidth$newheight$width$height);
imagejpeg($thumb);
?>
זו הדוגמה.
משתמשים בפונקציה imagecopyresized.
__________________
לפניות, אנא השאירו לי הודעה פרטית.
Matchs.
  Reply With Quote