Re: Missing images in MHTML by TerryRasmussen
TerryRasmussen
Tue Sep 02 06:17:09 PDT 2008
Donald,
Thank you for taking the time to replicate the problem. At least I now know
that the problem isn't me! :) Looks like I have to come up with a home grown
solution.
Thanks!
Terry
"Donald Anadell" wrote:
>
> "Terry Rasmussen" <TerryRasmussen@discussions.microsoft.com> wrote in
> message news:0953EF6F-11A1-4D34-9659-DB727EF7B5CB@microsoft.com...
> > Donald,
> >
> > That worked - thanks!
>
> You are welcome.
>
> > Using the sample that I provided in a response to
> > Robert Aldwinckle (below), WinZip shows two files:
> >
> > 0001.txt (when opened appears to be the original HTML document)
> > Unknown.001 (which I assume is the embedded image)
>
> That's correct, the 0001.txt file would be your HTML document and the
> UnKnown.001 file would be your image file.
>
> >
> > The other MHT files that I have created appear to be similar, containing
> > the
> > 0001.txt HTML file, and up to hundreds of Unknown.xxx files. So it
> > appears
> > that the images are embedded.
>
> >I just don't know why IE7 refused to actually
> > use the embedded data.
>
> I don't know either right now, but I can tell you that the same behavior is
> exhibited here. Using your HTML file as a template I created a .mht file on
> a machine that is using IE6 and then ported ported that .mht file to a
> machine that is running IE7, just as in your case, the image was not
> displayed when the .mht file was opened in IE7.
>
> I then created a .mht file on the machine with IE7 and ported it to the
> machine that has IE6 on it and the image was displayed in the .mht file just
> fine.
>
> So on this end, creating a .mht file with IE7 and then porting that .mht
> file to a machine with IE6 will display the images just fine. However,
> creating a .mht file on a machine with either IE6 or IE7 and porting that
> ..mht file to a machine with IE7 will not display the images in the .mht
> file.
>
> Good luck,
>
> Donald Anadell
>
>
> >
> > Thanks!
> > Terry
> >
> >
> >
> >
> > "Donald Anadell" wrote:
> >
> >>
> >> "Terry Rasmussen" <TerryRasmussen@discussions.microsoft.com> wrote in
> >> message news:77B00268-1E5A-46B1-BC32-5595D2D40276@microsoft.com...
> >> > Thank you for the reply, rob.
> >> >
> >> > Unfortunately, I cannot get your recommendations to work. WinZip
> >> > (version
> >> > 11.1) does not recognize a MHT file renamed to ZIP as a valid archive
> >> > file.
> >>
> >> Rename the .mht extension to .uue extension, WinZip should then open the
> >> file and show it's contents.
> >>
> >> Good luck,
> >>
> >> Donald Anadell
> >>
> >>
> >> > However, I am fairly certain that the content is being "zipped" up in
> >> > the
> >> > MHT
> >> > file correctly. Please see my response to Robert Aldwinckle below - I
> >> > have
> >> > provided some additional information.
> >> >
> >> > Thanks!
> >> > Terry
> >> >
> >> >
> >> >
> >> > "rob^_^" wrote:
> >> >
> >> >> Hi Terry,
> >> >>
> >> >> MHTML files are simply zipped content. Rename the extension to .zip
> >> >> and
> >> >> have
> >> >> a look with you compressed file viewer. There are security reasons for
> >> >> not
> >> >> including some content in the zipped impressions. If they come from
> >> >> third-party sites or they do not meet your Privacy settings criteria
> >> >> they
> >> >> can reveal your surfing history just as cookies can.
> >> >>
> >> >> Regards.
> >> >>
> >> >> "Terry Rasmussen" <TerryRasmussen@discussions.microsoft.com> wrote in
> >> >> message news:F7766E38-623A-487F-8962-0130B2A6A882@microsoft.com...
> >> >> > When viewing MHTML files in IE7, none of the images are visible.
> >> >> > (They
> >> >> > are
> >> >> > all displayed with the red "X" icon.), unless access to the original
> >> >> > image
> >> >> > source is available. Does this not defeat the purpose of MHTML?
> >> >> > (Being
> >> >> > portable.)
> >> >> >
> >> >> > Is it possible to save a HTML document as a single file and then
> >> >> > view
> >> >> > that
> >> >> > file on another machine that does not have access to the original
> >> >> > content?
> >> >> >
> >> >> > Thanks!
> >> >> >
> >>
> >>
> >>
>
>
>