logo not showing on new server

Hello. I have website that currently works fine but I’m changing providers and need to move the site. (servers are both Linux) The logo.jpg shows on the current site http://www.mobileprocorp.com/ top left corner. On the test server everything shows/works except the company logo I’ve looked at both the index.php and header.php files. I’ve tried moving the location of the image and path but still no luck. Any suggestions would be greatly appreciated. Thank you in advance for looking at this.

The php files are:


<?php include("partials/header.php"); ?>

Current quote of MobilePro Corp. Stock

<?php /* $ch = curl_init();

curl_setopt( $ch, CURLOPT_URL, ‘http://quote.yahoo.com/d/quotes.csv?s=MOBL.OB&f=sl1d1t1c1ohgv&e=.csv’ );
curl_setopt( $ch, CURLOPT_HEADER, false );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );

$output = curl_exec( $ch );
curl_close( $ch );

$contents = explode( ‘,’, str_replace( ‘"’, ‘’, $output ) );

echo “

Most recent trade: $$contents[1]
Today’s Change: $contents[4]
(Prices delayed up to 20 minutes.) $contents[2] $contents[3]
Volume: $contents[8]


	<div id="left-image"><img src="images/left-image.jpg" alt="left-image" /></div>
	<div id="content">
			<div id="content-text">

	<p>MobilePro Corporation is a publicly traded company based in Bethesda, Maryland.  Our current business includes mobile content through our ProGames Network subsidiary (<a href="http://www.progamesnetwork.com">www.ProGamesNetwork.com</a>) and a small payphone business through our debt and equity position in Davel Communications.</p><p>For more information, please review our publically available <a href="http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000769592&owner=include&count=40">SEC Filings at www.sec.gov.</a><p><!--MobilePro Corp. is a wireless technology and broadband telecommunications 
	company. The company is focused on developing innovative wireless 
	technologies, acquiring and growing profitable broadband telecommunications 
	service providers and creating strategic alliances with companies in 
	complementary product lines and industries.</p>

	<p>MobilePro is headquartered in Bethesda, Maryland near Washington D.C. and has major
	operations in Cleveland, Ohio;  Stockton, California; Kansas City, Missouri; 
	Stevensville, Maryland; and Ridgeland, Mississippi. --></p>


<div id="logo"><a href="index.php"><img alt="MobilePro Corp. Logo" src="/images/logo.jpg" width="323" height="86" /></a></div>


You are using absolute path to logo image: /images/logo.jpg
So, your image need to be located here:

Or, change path to relative: images/logo.jpg (without first slash)

thanks. That did it. I removed the slash. I did that before but the image looked broken inside dreamweaver. Posted anyway and it worked. Thanks for you time.

Sponsor our Newsletter | Privacy Policy | Terms of Service