How to Insert a JPEG Image Into an HTML Email

Save

When composing an email you may wish to insert a JPEG image into the message. You can do so by uploading the desired image to a server online, composing the message in HTML and inserting the image URL into the HTML code. To insert a JPEG image into your email message, you must use an email program that allows you to compose emails using pure HTML. Inserting the image into the email message is a straight-forward task and you can insert as many images as you wish.

  • Upload the JPEG image to the internet. You can upload the file to an image sharing website or your own web server, if you have one. Locate the image URL. The URL should resemble "http://URL.com/image.jpg."

  • Compose an HTML email in your email program. Note that this process may be different based on which email program you are using. Ensure that your email program supports sending HTML email messages.

  • Insert the following line of code into the HTML email, wherever you want the image to appear:

    <img src="http://URL.com/image.jpg" />

    Replace the entire URL with the URL of the image on the Internet.

  • Repeat the previous step, inserting as many images as you wish into the body of the HTML email.

  • Add the "width," "height," or "border" tag to the code to alter the size (in pixels) of the image or create a border around it. Note that this is optional. For example:

    <img src="http://URL.com/image.jpg" height="100" width="100" border="1" />

  • Add the "alt" tag to the code to insert alternative text if the recipients email program does not support HTML images. Note that this is also optional. For example:

    <img src="http://URL.com/image.jpg" alt="Image Name" />

    Replace "Image Name" with the text that you want to appear as an alternative if the recipients email does not support HTML images.

References

Promoted By Zergnet

Comments

Resources

You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!