|
Posted by Trevor on 11/16/16 11:30
Consider the following code:
<?php
$image = imagecreatefromjpeg($_FILES['imagefile']['tmp_name']);
$newimage = imagecopyresampled($image_p, $image, 0, 0, 0, 0, 200,
$height*$ratio, $width, $height);
?>
How do I save $newimage as "images/image.jpg"?
Navigation:
[Reply to this message]
|