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
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
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
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.
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;
}
Re: How to Embed Image in HTML
Dear Sir,
With due respect, it is fine and interesting for me.
thanks & regards,
swapan.