The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Embedding Image in a web page
krish
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
krish
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
krish
post Sep 27 2006, 10:09 AM
Post #5


Newbie
*

Group: Members
Posts: 10
Joined: 27-September 06
Member No.: 244



QUOTE(krish @ Sep 27 2006, 08:08 PM) *

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.


can we embed the image with the web page using object tag
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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. cool.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 11:54 AM