Jump to content

Image won't display


crmamx

Recommended Posts

Don't know if it is php or html but the image won't display.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" >
<head>
<meta name="google-site-verification" content="y_kspZkCZOQM-WGNB_lQ8BhJS8p7-B66hkHI_UhzKbs" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-language" content="en" />
<link type="text/css" rel="stylesheet" href="css/reset.css"  />
<link type="text/css" rel="stylesheet" href="css/960.css"  />
<link type="text/css" rel="stylesheet" href="css/custom.css"  />
        <title>Bay Area Remote Control Society</title>
</head>
    <body>
        <div id="wrapper" class="container_12">
            <div id="header" class="grid_12">
                <div id="left-header" class="grid_5 alpha"><?php include('content/left-header.php'); ?></div>
                <div id="newsflash" class="grid_7 omega"><?php include('content/newsflash.php'); ?></div>
            </div>
            <div id="leftmenu" class="grid_3"><?php include('content/menu2.php'); ?></div>
            <div id="maincontent" class="grid_9"><?php include('content/maincontent.php'); ?></div>
            <div id ="footer" class="grid_12"><?php include('content/footer.php'); ?></div>
        </div><!-- end wrapper -->
    </body>
</html>

left-header.php

<?php

?>    
<img src="Pictures_Other/concorde.jpg" alt="concorde" border="0" width="250" height="188" />

Link to comment
Share on other sites

Does it display the alternative text, "concorde"?

What does firebug say when you inspect it?

Are you sure this is the correct directory?  i.e. - Does "Pictures_Other" reside in the directory of the file where you call this piece of code:


Link to comment
Share on other sites

Does it display the alternative text, "concorde"?

What does firebug say when you inspect it?

Are you sure this is the correct directory?  i.e. - Does "Pictures_Other" reside in the directory of the file where you call this piece of code:

<img src="Pictures_Other/concorde.jpg" alt="concorde" border="0" width="250" height="188" />

:D On Firebug. Been trying for a week to learn how to use it. I think cssfreakie (with my encouragement) is writing a blog on Firebug for Novices, which is me. I know I want to inspect it, but I don't know how to isolate the code I want to inspect or what to look for afterwards.

 

It is in the same file as all the other images which work. And left-header is in the same file as all the other programs. The img I copied from an image that works and the

<?php include('content/left-header.php'); ?></div>

 

I copied from the Newsflash code that works in index.php

Link to comment
Share on other sites

That is a good point I learned the hard way. Depending on the source, some are upper and some lower.

 

But, sorry I put you all to the trouble. The problem turned out to be a bad jpg. It displays in my windows pic/fax viewer but not when I upload it. Ran into 2 of those about 3 months ago. ???

 

Thanks again. Now on to the next problem...

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.