Loading an Existing Image : imagejpeg « Graphics Image « PHP






Loading an Existing Image

 
<?
    $animage = imagecreatefromjpeg ("images/tiger.jpg")){
    imagejpeg ($animage);
    header ("Content-type: image/jpeg");
    imagedestroy ($animage);
?>
  
  








Related examples in the same category

1.Basic image script
2.Working with JPGs