from selenium.webdriver.chrome.options import Options
from selenium import webdriver
opts = Options()
prefs = {'profile.managed_default_content_settings.images': 2}
opts.add_experimental_option('prefs', prefs)
opts.add_argument(
    'user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36'
    )
driver = webdriver.Chrome('chromedriver.exe', chrome_options=opts)
Python: Disable images in Selenium Google ChromeDriver