I am creating a gtk desktop application. Most of my views are HTML. Therefore, I am using the Python implementation for Webkit. The problem is that I cannot include images, since Webkit does not allow downloading images from the local file system:
<img src="file://{{media_url}}_theme/media/img/eft.png"/>
=> This will cause "It is not allowed to load a local resource."
Is there a way to upload static files like images or css files locally?
source
share