Adding local pictures to dashboard picture card - what path to use?

If you put the image in /config/www, then the image will be exposed to the internet. If someone gets the link to the image, they will have access…

The method I use is in this post:

Basically using the “gallery-card” installed via HACS. Then the gallery card will have access to the image stored in a directory not exposed to the internet.