I have a chrome theme that changes the new tab page, and I would like to get the image background of the current theme. I found that the theme image can be accessed at chrome-search://theme/IDR_THEME_NTP_BACKGROUND and included "permissions": ["chrome-search://theme/IDR_THEME_NTP_BACKGROUND"] in my manifest file.
In the index.html file, I include the image with <img src="chrome-search://theme/IDR_THEME_NTP_BACKGROUND"> but the image does not render.
How can I retrieve the current theme background, and use it inside the extension code?
