From 0d8f2d8668beea346a0c1e0e66ca4706b765a9b3 Mon Sep 17 00:00:00 2001 From: jakubradziwon <28591537+jakubradziwon@users.noreply.github.com> Date: Sat, 21 Jul 2018 16:36:37 +0200 Subject: [PATCH] Update FAQ part (#5828) * Update FAQ part Updated FAQ part about where to put images (referring to /local/) * :pencil2: Tweaks --- source/lovelace/index.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/lovelace/index.markdown b/source/lovelace/index.markdown index fdbe2e97703..7111d3270cb 100644 --- a/source/lovelace/index.markdown +++ b/source/lovelace/index.markdown @@ -128,3 +128,9 @@ This is probably because your version of Firefox doesn't have custom components This is because for IOS devices by default javascript served is `es5`. You can allow custom components to load by forcing `javascript_version: latest` in your `configuration.yaml` under `frontend:`. > Note: Enabling `latest` on IOS could cause automation and script editor to crash. + +### I would like to add an image to my card, but I do not know where to put them. + +Given examples refer to `/locale/example_image.jpg`. That means you should have `www` directory next to your HA `configuration.yaml`. An image kept in `HA_configuration_dir/www/example_image.jpg` will be shown after refreshing Lovelace page. + +> Note: Remember to restart Home Assistant right after creating `www` directory. Otherwise, HA will not know that you created this directory.