Jump to content

Unable to display jpg images using iis 5.1, php 5.2.4


PLRandom

Recommended Posts

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>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.