LAMP install

Postby Stockton on Sat Oct 20, 2012 12:31 pm
I have followed the procedure at http://community.linuxmint.com/tutorial/view/486 to install LAMP on my Mint 13 laptop with a view to developing locally & once working emigrate to my server but ...... the following simple HTML only displays the title(No image). The image does exist in the images folder & it makes no difference if I refer to it with ./images/prince.jpg or images/prince.jpg.
Please tell me how I got the install wrong.

<!DOCTYPE html>
<html>
<title>Jim Beam</title>
<meta name="author" content="Alf C Stockton">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Mon, 22 Jul 2000 11:12:01 GMT" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<script language="JavaScript" src="./js/prince.js"></script>
</head>
<body>
<center>
<img src="./images/prince.jpg" alt="Jim Beam" usemap="#prince" />
<map name="prince">
<area shape="rect" coords="300,170,350,200" onClick="javascript:gotoFirst();" />
<area shape="rect" coords="530,245,540,255" onClick="javascript:gotoSecond();" />
<area shape="rect" coords="520,180,540,200" onClick="javascript:gotoThird();" />
</map>
</body>
</html>

BTW Something very similar works fine on my website at http://www.stockton.co.za/doc/jones

Permissions was the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.