header("Content-type: image/gif"); // o header("Content-type: image/jpeg"); //o header("Content-type: image/png")