What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

Possible Duplicate:
Is there a way to attach images to a question?

I have an image on my computer. I want to display that image here. I try to copy and paste, but it is not possible. I also tried the HTML tag <"img src = "/home/user/Desktop/device.png">. How is it possibe?

share|improve this question

migrated from stackoverflow.com Feb 18 '11 at 5:07

This question came from our site for professional and enthusiast programmers.

marked as duplicate by random Feb 18 '11 at 5:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
define "here". On StackOverflow? On your website? Sounds like you are too new for stack. –  mrtsherman Feb 18 '11 at 4:47
1  
"Here" as in "on Stackoverflow"? Well, we have no access to your computer, so we can't see images on your harddisk. You need to upload it to some public server so we can see it. Stackoverflow does this for you if you use the "Image" button. –  deceze Feb 18 '11 at 4:47
    
the src is wrong it should be www.stackoverflow.com/home/user/desktop/device.png or something less weird. –  Robin Feb 18 '11 at 4:52
    
Here first remove the double quote that you used before the img tag inside the angular brace as it is not allowed and include an alt attribute of the img tag. If instead of the image the alt msg is displayed u'll get to knw that the img tag is working fine and there is a problem with the source path of the image. For easier implementation, copy the image in the same folder as your html doc and only use the filename with its extension in its source attribute.. I hope this will solve your problem.. –  Ruchir Feb 18 '11 at 5:26

3 Answers 3

<img src="file:///Desktop/Something.png" />

That should be it. @arex1337, you forgot to close the tag.

share|improve this answer
    
You don't have to close the tag in HTML5. –  Closure Cowboy Feb 18 '11 at 4:57

Press ctrl + G then follow the instructions...

share|improve this answer
    
can u tell me which instruction i want to follow –  khan Feb 18 '11 at 4:56
    
you press the ctrl and G keys on your keyboard together then a popup will come up explaining how to upload the image –  Yawn Feb 18 '11 at 5:04

Try beginning the url with file:// like this:

<img src="file:///home/user/Desktop/device.png">
share|improve this answer
    
Oh, maybe you meant here on SO and not locally... –  arex1337 Feb 18 '11 at 4:48

Not the answer you're looking for? Browse other questions tagged .