www.webdeveloper.com
Results 1 to 2 of 2

Thread: Simple question

  1. #1
    Join Date
    Nov 2005
    Posts
    8

    Simple question

    Hi, just want to ask if it is possible to embed a jpg image into an html page, so that for example when I send out the html file, I don't have to send out the separate jpg file together as well?

    I know this can be done by converting it into a pdf, however, since I've been told to do the page in html format, therefore I'm not sure if it is do-able or not.

    Can anyone please tell me how to do this?

    Thanks very much in advance!

  2. #2
    Join Date
    Apr 2006
    Posts
    370
    Not possible to encode it into the page as far as I know. However, if the image is available on a server - and the image src is the entire path http://www.yoursite/images/image.jpg - then you wouldn't need to send the image with the file: anyone viewing the html file who is connected to the web will see the image. (This is the approach most often used for broadcast email.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles