add content_type option to generic camera (#2887)

This commit is contained in:
Eugenio Panadero 2017-06-25 21:25:22 +02:00 committed by Paulus Schoutsen
parent a293361085
commit ddfe8de46a

View File

@ -35,6 +35,7 @@ Configuration variables:
- **password** (*Optional*): The password for accessing your camera. - **password** (*Optional*): The password for accessing your camera.
- **authentication** (*Optional*): Type for authenticating the requests `basic` (default) or `digest`. - **authentication** (*Optional*): Type for authenticating the requests `basic` (default) or `digest`.
- **limit_refetch_to_url_change** (*Optional*): True/false value (default: false). Limits refetching of the remote image to when the url changes. Only relevant if using a template to fetch the remote image. - **limit_refetch_to_url_change** (*Optional*): True/false value (default: false). Limits refetching of the remote image to when the url changes. Only relevant if using a template to fetch the remote image.
- **content_type** (*Optional*): Set the content type for the IP camera if it is not a jpg file (default: `image/jpeg`). Use `image/svg+xml` to add a dynamic svg file.
<p class='img'> <p class='img'>
<a href='/cookbook/google_maps_card/'> <a href='/cookbook/google_maps_card/'>