Embedding Image in a web page |
Embedding Image in a web page |
krish |
Sep 27 2006, 08:21 AM
Post
#1
|
Newbie Group: Members Posts: 10 Joined: 27-September 06 Member No.: 244 |
How to embed a image in a web page?.I'm creating a web application with that i'm saving the result web page that contains a image.When i save it and open in another system image is not displayed. how can we achieve this.Plz help it is urgent?
|
jimlongo |
Sep 27 2006, 08:25 AM
Post
#2
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
You need to upload the image file to the other system as well as the html file.
Also see the FAQ http://htmlhelp.com/faq/html/images.html#broken-image |
krish |
Sep 27 2006, 09:38 AM
Post
#3
|
Newbie Group: Members Posts: 10 Joined: 27-September 06 Member No.: 244 |
Please give me another idea since i cannnot do like that in my application.
Can we use Embed tag to embed the image in it.Please give any idea. |
pandy |
Sep 27 2006, 09:59 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
The problem isn't with the image tag. You can't use files on your hard drive on the web. You need to upload the image to a server.
Why can't you? What's this application that limits you? |
krish |
Sep 27 2006, 10:09 AM
Post
#5
|
Newbie Group: Members Posts: 10 Joined: 27-September 06 Member No.: 244 |
|
pandy |
Sep 27 2006, 10:18 AM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Please read what I said above. It isn't about what tag you use. It's about your computer not being a server and not accessible from the web. You cannot use any files on your hard drive on the web. You must upload them to a web server.
|
jimlongo |
Sep 27 2006, 11:00 AM
Post
#7
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Well I suppose you can use object tags
CODE <object width="xxx" height="xxx" > <param name="src" value="whatever.png"> </object> http://www.w3.org/TR/html4/struct/objects.html But as pandy exasperatedly stated, it's not the type of tag you use, but the image file you need to get uploaded to the proper place. |
Darin McGrew |
Sep 27 2006, 12:48 PM
Post
#8
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
In theory, I suppose you could use the data: URI scheme, but MSIE doesn't support it.
|
pandy |
Sep 27 2006, 01:03 PM
Post
#9
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
They've missed one browser in that list. Old Netscape actually supported this. Netscape was cool once.
|
Lo-Fi Version | Time is now: 26th April 2024 - 11:54 AM |