I had to create the www folder in the config directory. Then I put the images in this folder.
The url to this folder is http://home_assistant_url:8123/local/image.jpg
If your access your home assistant installation on 192.168.0.100:8123, the url is http://192.168.0.100:8123/local/image.jpg
This works for me at least.