Page 1 of 1

Preventing image loading from HTML with TRVHTMLImporter

Posted: Thu Sep 25, 2008 5:13 pm
by martindholmes
Hi there,

I'm still using TRVHTMLImporter rather than the new component, and I'd like to know how to prevent images from being loaded when loading a document. I've tried doing various things in OnImageRequired2, but nothing seems to work; images are still imported. TRichViewEdit has IgnorePictures in the RTFReadProperties, but there's nothing I can find that will prevent images from being loaded in HTML.

All help appreciated,
Martin

Posted: Sat Sep 27, 2008 11:22 am
by Sergey Tkachenko
Ok, the next update will have a new option (for Options property): rvhtmloIgnorePictures. Currently, pictures will just ignored. Probably, it makes sense to use Alt attribute to insert text at their place in future.