PLRandom Posted October 9, 2007 Share Posted October 9, 2007 Hello, I'm using php 5.2.4 running IIS 5.1 on XP professional. Using the code below I'm unable to display any jpg on the web page. The gd library is loaded. I'm thinking the issue could be with the settings of IIS but not sure where to look for an IIS setting or maybe the problem is with the code? Thank you, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="content-language" content="en"> <meta name="PL" content="PL"> <meta http-equiv="Reply-to" content="@.com"> <meta name="generator" content="PhpED 5.0"> <meta name="description" content=""> <meta name="creation-date" content="07/01/2007"> <title>Camera Test</title> <link rel="stylesheet" type="text/css" href="my.css"> <!-- <div style="margin:0px; padding:6px; border:1px inset; width:640px; height:600px; overflow:auto"> --> </head> <body BGCOLOR="#004080" VLINK="#ffffff" LINK="#ffff00"> <!-- URL: http://www.PLRandom/CameraTest.php --> <?php echo "<p><img src='images/camera.JPG' width=\"200\" height=\"150\"></p>"; ?> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/72509-unable-to-display-jpg-images-using-iis-51-php-524/ 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.