html image

Hi,

I am trying to insert an image from my desktop using html tags. I also want this image to open on all computers. How do I insert this image?

Thanks
camper12Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Prasanna JayaramanConnect With a Mentor Commented:
So you mean you trying to insert an image stored in a desktop to a HTML file? In that case the Image should be hosted in the web or else you can use tinypic.com to upload and get an URL for the image and use it in HTML page. The image will be displayed wherever you open that HTML page and it should connected to the internet.
0
 
Dave BaldwinFixer of ProblemsCommented:
HTML is for web pages like this one.  Unless your desktop is a web page, I don't how you would do that.  Even then it has to be hosted somewhere.  Do you have a local web host or Sharepoint server?
0
 
Predrag JovicNetwork EngineerCommented:
The Active Desktop (loading html pages) has been removed since Windows Vista.
There are third-party tools like
http://snippage.gabocorp.com/
http://www.aveapps.com/avedesktopsites.html
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
FarWestCommented:
I think you mean your computer when said "from my Desktop"
how do you attend to share this html file?
to view by all computers you should place the image in a shared folder with read rights to everyone
and put full network path like this <img id="mypict" src="\\computer\sharename\imagename.jpg">  
or you make the source on the internet if those computers have internet access,
also there is a way to use DATA in html to embed the image with the HTML, but you need serialized string of the image
0
 
FarWestCommented:
this is an example of using data

<img src="data:image/png;base64,
iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABGdBTUEAALGP
C/xhBQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9YGARc5KB0XV+IA
AAAddEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q72QlbgAAAF1J
REFUGNO9zL0NglAAxPEfdLTs4BZM4DIO4C7OwQg2JoQ9LE1exdlYvBBeZ7jq
ch9//q1uH4TLzw4d6+ErXMMcXuHWxId3KOETnnXXV6MJpcq2MLaI97CER3N0
vr4MkhoXe0rZigAAAABJRU5ErkJggg==" alt="Red dot" />

Open in new window

0
 
FarWestCommented:
just wondering how Prasanna  is accepted as a solution while mine is not even considered as assisted one
good luck
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.