Skip to content

Commit

Permalink
Add iframe documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
j-a-n committed Feb 1, 2025
1 parent 5c7e75d commit 46351c7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,17 @@ image_info_template: '<span style="color:#990000">//</span> ${description|alt_de

See [Unsplash API documentation (Get a random photo)](https://unsplash.com/documentation#get-a-random-photo) for details.

#### Website as iframe
You can also display a website in an iframe.
Just add the prefix `iframe+` to the URL of the website you want to show:

For example:
```yaml
image_url: iframe+https://projects.sntosh.in/clock/
```

Note: Not all websites can be used in an iframe. A website can set an X-Frame-Options HTTP header to prevent it from being used in an iframe.

### Media-source URL

It is also possible to use images from the Home Assistant Local Media source.
Expand Down Expand Up @@ -277,7 +288,7 @@ For example:

`media-source://synology_dsm/18C0PEN253705/19`

### immich API (experimental)
### immich API
There is experimental support for retrieving images from an immich server.

#### immich server CORS
Expand Down

0 comments on commit 46351c7

Please sign in to comment.