Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 16-05-2009
Member
 
Join Date: Oct 2005
Posts: 82
How to Embed Image in HTML

Hello,
I want to embed an image data of jpeg in my html code for server side purposes. I have seen many examples of embedding image in html but none of the examples work in Internet Explorer browser. So if anyone can show me how to embed and image / photo in HTML, it would be great. Thank you
__________________
"Freely you have received, freely give." -- Jesus Christ
Reply With Quote
  #2  
Old 16-05-2009
Member
 
Join Date: Dec 2007
Posts: 1,592
Re: How to Embed Image in HTML

You just have to use the img element into you code. You can also see some examples already made in topics here called insert an image in HTML.

You can also embed list-style-image in document by following the tips given in the sites below. http://rifers.org/blogs/gbevin/2005/...es_inside_html
http://www.kryogenix.org/days/2003/10/18/embedding
Reply With Quote
  #3  
Old 16-05-2009
Member
 
Join Date: Jun 2006
Posts: 620
Re: How to Embed Image in HTML

I wondered if there was a solution to embed picture and table into HTML email but there isnt cause HTML is only a markup language, but you can put the complete image data into the cell. Most of the people have their email settings set and therefore that images does not automatically loads. It would simple display a red x. They do this because there are some security concerns with jpeg images carrying viruses. To avoid spam in the database the images shown in the email clients is not being displayed
Reply With Quote
  #4  
Old 16-05-2009
Member
 
Join Date: Dec 2007
Posts: 1,542
Re: How to Embed Image in HTML

You can also embed Images in RTF when converting from HTML but incase if you get any errors then follow the procedure given below:

1. Open the damaged document in word.

2. Go to Tools -> Macro -> Record New Macro

3. Call it what you want

4. Make the necessary changes

5. Go to Tools -> Macro -> Visual Basic Editor (If you have Visual Studio Installed)

This will give you the exact macro code you can directly integrate into your application.
Reply With Quote
  #5  
Old 16-05-2009
sayed
 
Posts: n/a
Re: How to Embed Image in HTML

You can embed it using CSS.

Add this between the head tags of the page you will be making:

Code:

Quote:
<style type="text/css">
body{
background-image: url(yrimage.gif);
background-repeat: no-repeat;
background-attachment: fixed;
background-color: #0000ff;
}
Reply With Quote
  #6  
Old 28-06-2009
swapantech1
 
Posts: n/a
Re: How to Embed Image in HTML

Dear Sir,
With due respect, it is fine and interesting for me.

thanks & regards,
swapan.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Embed Image in HTML"
Thread Thread Starter Forum Replies Last Post
Embed mp4 in html super soaker Software Development 5 21-12-2009 01:00 PM
How to embed mpeg file in html ADJATAY Software Development 5 29-11-2009 01:40 AM
How to embed xml in html VinFanatic Software Development 3 03-08-2009 01:14 PM
How to Embed FLV/SWF Videos In HTML CACTUS101 Technology & Internet 3 29-06-2009 10:00 AM
How to embed a WMV into an html page Ameyaa Software Development 2 19-05-2009 10:37 AM


All times are GMT +5.5. The time now is 11:05 AM.