Preventing image loading from HTML with TRVHTMLImporter

General TRichView support forum. Please post your questions here
Post Reply
martindholmes
Posts: 131
Joined: Mon Aug 29, 2005 12:03 pm

Preventing image loading from HTML with TRVHTMLImporter

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply