2 Replies - 1640 Views - Last Post: 20 November 2012 - 12:15 PM

#1 izic  Icon User is offline

  • D.I.C Head

Reputation: -2
  • View blog
  • Posts: 197
  • Joined: 15-January 09

Broken image

Posted 19 November 2012 - 11:40 PM

Hi, I'm using dreamweaver to make a webpage and I'm trying get an image from my folder and display it on a page using this:
 <link rel="stylesheet" href="style/angiesartlogo.png" type="text/css" media="screen" />


How can I fix this?

Full code:
<?php 
session_start(); 
if(isset($_SESSION["manager"]))
{
	header("location: index.php"); 
	exit();
}
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Store Home Page</title>
<link rel="stylesheet" href="style/angiesartlogo.png" type="text/css" media="screen" />
</head>

<body>
<div align="center" id="mainWrapper">
<?php include_once("../template_header.php");?>
<div id="pageContent">
  <div align="left" style="margin-left:24px;">
    <p>Hello store manager, what wold you like to do today?</p>
    <p><a href="inventory_list.php">Manage inventory</a></p>
    <p><a href="#">Manage Blah Blah </a></p>
  </div>
</div>
<?php include_once("../template_footer.php");?>
</div>
</body>
</html>


Is This A Good Question/Topic? 0
  • +

Replies To: Broken image

#2 IJET  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 93
  • View blog
  • Posts: 121
  • Joined: 14-October 12

Re: Broken image

Posted 19 November 2012 - 11:50 PM

Use the following for images:

<img src="image.png" />



Also, put the image in the body of the document.

This post has been edited by IJET: 19 November 2012 - 11:54 PM

Was This Post Helpful? 0
  • +
  • -

#3 xfire  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 17
  • Joined: 18-November 12

Re: Broken image

Posted 20 November 2012 - 12:15 PM

also make sure that the file location is correct, "..\picture folder?\picture.png"
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1