crmamx Posted March 15, 2011 Share Posted March 15, 2011 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" /> Quote Link to comment https://forums.phpfreaks.com/topic/230751-image-wont-display/ Share on other sites More sharing options...
Maq Posted March 15, 2011 Share Posted March 15, 2011 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: Quote Link to comment https://forums.phpfreaks.com/topic/230751-image-wont-display/#findComment-1187952 Share on other sites More sharing options...
crmamx Posted March 15, 2011 Author Share Posted March 15, 2011 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" /> 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 Quote Link to comment https://forums.phpfreaks.com/topic/230751-image-wont-display/#findComment-1187972 Share on other sites More sharing options...
jcbones Posted March 16, 2011 Share Posted March 16, 2011 Is the extension lowercase or uppercase letters. Quote Link to comment https://forums.phpfreaks.com/topic/230751-image-wont-display/#findComment-1187986 Share on other sites More sharing options...
crmamx Posted March 16, 2011 Author Share Posted March 16, 2011 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... Quote Link to comment https://forums.phpfreaks.com/topic/230751-image-wont-display/#findComment-1187999 Share on other sites More sharing options...
Maq Posted March 16, 2011 Share Posted March 16, 2011 The problem turned out to be a bad jpg. Quote Link to comment https://forums.phpfreaks.com/topic/230751-image-wont-display/#findComment-1188181 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.