Click to See Complete Forum and Search --> : Can't display PNG deleted image in MHT


Flavs83
04-17-2007, 11:14 AM
Hello,

I hardcoded a simple MHT files to for the PNG image. Once I opened MHT file, I can see the PNG image with no problem. However, if i move/delete the PNG image from its original location that I hardcoded in MHT file, it does not show the PNG image. I spent like five days trying to figure out but nothing. Here is the code for MHT file. I would appreciate any help. Thanks in advance.

From: <Saved by Microsoft Internet Explorer 5> Subject: Date: -0400MIME-Version: 1.0
Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01C77E3A.61CEE360" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028

------=_NextPart_000_0000_01C77E3A.61CEE360
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv=3DContent-Type content=3D"text/html; =charset=3Diso-8859-1"><meta content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR</head><body>
<p style=3D"margin-bottom: 6px"><b> 1-)</b></p>
<p align=3Dcenter><img border=3D0 src=3D"file:///C:\\MIATemp0.png
" width=3D"735" height=3D"783"><p>&nbsp;</p>
<p style=3D"margin-bottom: 6px"><p align=3Dcenter></p></p>&nbsp;
</body></html>

------=_NextPart_000_0000_01C77E3A.61CEE360
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: file:///C:\\MIATemp0.png

iVBORw0KGgoAAAANSUhEUgAAAt8AAAMPCAYAAAANQ7lfAAAABGdBTUEAALGPC/xhBQAAAAZiS0dE
AP8A/wD/oL2nkwAAAAlwSFlzAAALEQAACxEBf2RfkQAAAAd0SU1FB9AICBM6GXSMvjEAACAASURB
VHja7L17lF1Xdeb7rV162oCDUUnCSBm5I4Atya+MGJAIYMl0YztgGARKlgwBGxPINchB4iYk6fSI
edzRfR8WNDfQ94/uQHjEQUonN2GE0FzAEGNLNuLGDyzAHQbB8ku2jB+yVO817x/7Ndfaa++99j6n
....................
BoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwG
g8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAbD
1Y//H+u9uE/SJKCyAAAAAElFTkSuQmC==

------=_NextPart_000_0000_01C77E3A.61CEE360--