Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Hide images ?

Post Reply
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Hide images ?

Post by thefunkyjoint »

Hello,

I already did this in the past but can't remember anymore : how can i disable image loading when loading a page ?

Thanks !
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Hide images ?

Post by salvadordf »

Hi,

You can set GlobalCEFApp.DisableImageLoading to True before the GlobalCEFApp.StartMainProcess call in the DPR file to disable images for all the app lifetime.

If you need to disable them in one browser set TChromium.Options.ImageLoading to STATE_DISABLED before calling TChromium.CreateBrowser. This setting is in use for all the lifetime of this browser.
thefunkyjoint
Posts: 458
Joined: Thu Aug 10, 2017 12:40 pm

Re: Hide images ?

Post by thefunkyjoint »

Great, thank you ! :D
Post Reply