stockton Posted October 20, 2012 Share Posted October 20, 2012 I have followed the procedure at http://community.lin...torial/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 Link to comment Share on other sites More sharing options...
justsomeguy Posted October 29, 2012 Share Posted October 29, 2012 Whether or not an image will display isn't an installation issue, either the web server works to serve files or it doesn't. If it won't display that image then either the file is corrupt or it's the wrong path. You can use your browser's developer tools to look at the request for that image to see which path it is looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now