# Not able to enable screenshots on alerts

**URL:** <https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636>\
**Category:** Alerting\
**Tags:** alerting\
**Created:** [July 12, 2022, 12:51pm UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636 "2022-07-12T12:51:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![robone](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@robone](https://community.grafana.com/u/robone)\
**Post date:** [July 12, 2022, 12:51pm UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636/1 "2022-07-12T12:51:13Z")

</div>

Hi there,

For about two weeks I’m trying to send a snapshot within the alert notificiation, but sadly, with no results. As the documentation says, first thing needed is the image renderer (obviating version 9 of Grafana, of course). This renderer I got it launched in a docker container and I know is working correctly because I have a .svg image represented in a Geomap panel.

Grafana is also running in a container, and when I start it with the variable:

"GF\_UNIFIED\_ALERTING\_SCREENSHOTS\_CAPTURE: “true”

No option to enable the screenshots nor anything related, should It appear here?:

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/c/f/cf670b4a1c9ac4ad2b833e262ab4cbe91dc83598.png)

I don’t know what else to try so I would appreciate the help 🙂 . Feel free to ask me anything and sorry for my English.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![robone](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@robone](https://community.grafana.com/u/robone)\
**Post date:** [July 19, 2022, 6:49am UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636/2 "2022-07-19T06:49:09Z")

</div>

You can close this. Made it work yesterday.

---

<div class="post-metadata">

**Author:** ![mrmanuel](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mrmanuel](https://community.grafana.com/u/mrmanuel)\
**Post date:** [July 27, 2022, 7:26am UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636/3 "2022-07-27T07:26:59Z")

</div>

How did you get it to work? I‘m searching for the same.

---

<div class="post-metadata">

**Author:** ![robone](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@robone](https://community.grafana.com/u/robone)\
**Post date:** [July 27, 2022, 7:45am UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636/4 "2022-07-27T07:45:11Z")

</div>

At which point are you? You have it deployed the environment in containers? Have you got the renderer on and working properly?

---

<div class="post-metadata">

**Author:** ![mrmanuel](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mrmanuel](https://community.grafana.com/u/mrmanuel)\
**Post date:** [July 27, 2022, 8:26am UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636/5 "2022-07-27T08:26:26Z")

</div>

I’m running Grafana in Docker. The renderer should work. I don’t know how to test it, but I checked the logfiles and there where no errors.

For installation I followed [Grafana Image Renderer plugin for Grafana | Grafana Labs](https://grafana.com/grafana/plugins/grafana-image-renderer/#installation) and [Set up image rendering | Grafana documentation](https://grafana.com/docs/grafana/latest/setup-grafana/image-rendering/) .

So now I’m stuck at the point how to insert/enable the screenshot of the graph in the template. Have I to modify the template? Which variable is the correct one to use?

---

<div class="post-metadata">

**Author:** ![robone](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@robone](https://community.grafana.com/u/robone)\
**Post date:** [July 27, 2022, 8:32am UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636/6 "2022-07-27T08:32:37Z")

</div>

Make you sure you have this variables set correct:  
 ![image](https://us1.discourse-cdn.com/grafana/original/3X/7/6/76f07c7fac961c83717d6071dd785fbe4e75bf61.png)

I dont’ remember if the last one is nedded. Once you’ve got the container running with the new config, you’ll have to send the alerts to contact points. By default, there is no option for “enabling” screenshots, so all the snapshots will be sent to the contact point if the variable “…SCREENSHOTS:ENABLED” is true.

---

<div class="post-metadata">

**Author:** ![mrmanuel](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@mrmanuel](https://community.grafana.com/u/mrmanuel)\
**Post date:** [July 27, 2022, 8:40am UTC](https://community.grafana.com/t/not-able-to-enable-screenshots-on-alerts/68636/7 "2022-07-27T08:40:17Z")

</div>

Oh, ok. Thanks. It works now 🙂

I found also this info

> Unlike legacy dashboard alerts where images in notifications are  
> enabled per contact point, images in notifications for Grafana Alerting  
> must be enabled in the Grafana configuration, either in the  
> configuration file or environment variables, and are enabled for either  
> all or no contact points. Please refer to the documentation for images  
> in notifications.

From  
[https://grafana.com/docs/grafana/latest/alerting/migrating-alerts/migrating-legacy-alerts/](https://grafana.com/docs/grafana/latest/alerting/migrating-alerts/migrating-legacy-alerts/)
