coderage Posted April 16, 2007 Share Posted April 16, 2007 Im getting "No image support for this PHP server" message when i try to run this code, or try to run any other graphics related code. using Apache 2.0.52 and PHP 5 <?php define("SRC_FILE", "pic.jpg"); $img = imagecreatefromjpg(SRC_FILE); $img_copy = imagecreatefromjpg(SRC_FILE); header("Content-Type: image/jpg"); imagejpg($img_copy); ?> Kindly suggest a solution. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.