locked
Photo in masthead shows in preview but will not publish RRS feed

  • Question

  • I am trying to place a photo in the masthead section of my master.dwt for use in all pages of my website.  It shows during preview with EW1, but doesn't appear in the masthead when I publish it to our host at GoDaddy.com at http://www.triuneservices.com.  Photo should appear just to the right of the contact info that is included in the masthead. Can anyone advise me what is wrong with the html code in the masthead section that prevents this photo from appearing when published?

    I will include the relative html code in hopes you can advise what is wroong with it.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
    
    <!-- #BeginTemplate "master.dwt" -->
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- #BeginEditable "doctitle" -->
    <title>Triune Services, Inc. operates in three business areas: management consulting, novel writing and timeshare management. </title>
    <style type="text/css">
    .style3 {
    	color: #0000FF;
    }
    .style4 {
    	font-family: "Lucida Bright";
    	font-weight: normal;
    }
    .style5 {
    	font-family: "Bradley Hand ITC";
    	font-weight: normal;
    	font-size: xx-large;
    }
    .style7 {
    	font-family: "Bradley Hand ITC";
    	text-align: left;
    }
    .style8 {
    	font-weight: normal;
    	font-family: "Times New Roman", Times, serif;
    	text-align: center;
    }
    .style9 {
    	font-family: "Times New Roman", Times, serif;
    	text-align: center;
    }
    .style10 {
    	font-family: "Times New Roman", Times, serif;
    }
    </style>
    <!-- #EndEditable -->
    <link href="styles/style2.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .style1 {
    	text-align: center;
    }
    .style2 {
    	margin-left: 5px;
    	margin-right: 5px;
    }
    </style>
    </head>
    
    <body>
    
    <!-- Begin Container -->
    <div id="container">
    
    	<!-- Begin Masthead -->
    	<div id="masthead">
    		<img src="images/NewTriuneLogo.gif" alt="triune_logo" height="160" width="428" longdesc="New_triune_logo" />
    		<img src="images/Ohmans.jpg" width="178" height="160" style="float: right" class="style2" />
    		<br />
    		<p><strong>office (719) 481-8592<br />
    		fax (719) 481-8592 (call ahead)<br />
    		<a href=&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#110;&#111;&#104;&#109;&#97;&#110;&#48;&#48;&#48;&#48;&#64;&#109;&#115;&#110;&#46;&#99;&#111;&#109;>&#110;&#111;&#104;&#109;&#97;&#110;&#48;&#48;&#48;&#48;&#64;&#109;&#115;&#110;&#46;&#99;&#111;&#109;</a></p>
    		<a href="http://www.auditmypc.com/freescan/antispam.html" target="_blank">Anti Spam</a> 
    	</div>
    	<!-- End Masthead -->
    
    
    Thursday, September 30, 2010 11:48 PM

Answers

  • Publish the image.  It appears that you haven't.
    • Marked as answer by jellis123 Friday, October 1, 2010 3:50 AM
    Friday, October 1, 2010 12:07 AM

All replies

  • The url to the other image works:
    http://www.triuneservices.com/images/NewTriuneLogo.gif

    But if you do the same thing for the image on the right:
    http://www.triuneservices.com/images/Ohmans.jpg

    It says "file not found".

    Are you sure it's actually in that folder?

     

    Thursday, September 30, 2010 11:57 PM
  • Publish the image.  It appears that you haven't.
    • Marked as answer by jellis123 Friday, October 1, 2010 3:50 AM
    Friday, October 1, 2010 12:07 AM
  • Nothing to do with your display isue but you are using longdesc wrong. The only time you should use longdesc is when your image contains complex information that cannot be displayed in a few words llike a graph or chart. Then the longdesc should be a link to the same information in text form.

    Your image is not displaying because your server is case sensitive and the file name is http://www.triuneservices.com/images/Ohmans.JPG and you are asking for http://www.triuneservices.com/images/Ohmans.jpg

    This is why it is best to always use consistent naming conventions and all lowercase usually works best.


    MS MVP Expression Tutorials & Help http://by-expression.com & Expression Web forums
    Friday, October 1, 2010 12:17 AM
  • Thanks Kathy...I stupidly had somehow marked the image as "DO NOT PUBLISH".  This solved the problem.
    jellis123
    Friday, October 1, 2010 3:51 AM
  • Cheryl, I greatly appreciate your tip on use of longdesc and will comply in future.  Your suggestion for naming convetion consitency is well taken and I made changes accordingly.   Thanks so much for all of your help!
    jellis123
    Friday, October 1, 2010 3:52 AM