Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

saving web page to file with images

Status
Not open for further replies.

brheem

Programmer
Nov 6, 2002
10
US
Hello All,

This is my first post and I look forward to being a member here.

I have a question regarding saving a web page that has images to a file. Currently, I am calling the Internet Explorer specific Javascript function 'document.execCommand("SaveAs")'. I can save the webpage as either a html file or Word doc and when I view the saved file on my local computer, the images appear. This is different then saving the webpage using the File->Save As... menu option on the IE toolbar because there is no associated imagedirectory that's saved. The images actually appear embeded or 'linked' to the source.

However, when I email that webpage to somebody else, the images do not appear when they view the page.

Does anybody know how I could 'embed' the images in the webpage as I'm saving it to file?

Thanks,
bryan
 
>> The images actually appear embeded or 'linked' to the source.

Word documents can embed images but not HTML documents. If that is referring to HTML post an example of that "link" so we can see what it is doing.


-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top