trichview.support
Re: <B>Urgent</B>: Get List of images in the HTML generated |
Author |
Message |
Sergey Tkachenko |
Posted: 11/06/2003 19:28:55 I think that creating folder is not the worst solution. You can delete it after HTML generation. The best solution is to use OnSaveImage2 event. This event is generated for each image when making HTML file. In this event you need to save image (Graphic parameter), and assign a string which will be inserted in HTML in <IMG src> (Location parameter). You can add 'cid:' right here. It's even not necessary to save images in files, you can accumulate them somewhere in memory. > > I use richedit as a component to compost email. > I use SaveHTMLToStream(strstream,'c:\bmps\','Email','img') to save html to > stream. The images gets saved in a folder. > Now in that html i have to replace all img0.jpg,img1.jpg,img2.jpg ....with > > cid:img0.jpg,cid:img1.jpg,cid:img2.jpg ...... > How do i get list of images saved by the savehtmltostream. > I dont want to create new folders for each mail. > |
Powered by ABC Amber Outlook Express Converter