Harris Posted September 3, 2012 Share Posted September 3, 2012 So i put the location of the file in the source input of img but the picture doesn't show up. Only those who are uploaded on the internet show up. This is what i did - <img src="/home/harris/kolona/kolona.jpg" align="left" style="margin-left:10px"></img> Am i missing something? Link to comment Share on other sites More sharing options...
niche Posted September 3, 2012 Share Posted September 3, 2012 (edited) Then upload that one too. Else, check case. The web server I use is case sensitive when it comes to file names. Edited September 3, 2012 by niche Link to comment Share on other sites More sharing options...
Harris Posted September 3, 2012 Author Share Posted September 3, 2012 I wouldn't make a thread if i wanted to upload it,what do you mean by case sensitive? Link to comment Share on other sites More sharing options...
Ingolme Posted September 3, 2012 Share Posted September 3, 2012 Accessing files on the computer requires the file:// protocol. You can access a file like this: file:///C:\Document%20and%20Settings\Users\Me\Images\file.jpg If the HTML file is on your own computer you can use a relative path which doesn't need the file:// protocol. Link to comment Share on other sites More sharing options...
Harris Posted September 4, 2012 Author Share Posted September 4, 2012 Thanks for posting guys but it seems the file wasn't a .jpg but a .png .. my bad,i should notice. 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