How to set image size in a telegram alert message?

Please help me find a mistake.
I set notification rule through the telegram with rendering of a panel. I always get an image in size 1000x500px. I set the image size In the configuration file “defaults.ini”
[rendering]
default_image_width = 1300
default_image_height = 800
but it doesn’t work

what am I doing wrong?

The width and height parameters are passed in the request from Alerter. Does anyone know how to change them?
i get such output in grafana log

logger=rendering renderer=http t=2024-10-09T18:01:24.5067877+03:00 level=debug msg=“calling remote rendering service” url=“http://localhost:8081/render?deviceScaleFactor=1.000000&domain=localhost&encoding=png&height=500&renderKey=Es48p7BWzTFnagpUxWajfZ0WoJ4nbuZV&timeout=10&timezone=&url=http...&width=1000

Hi! :wave: You cannot customize the width or height of the alerting screenshots.

The problem is solved by creating images through a standalone Grafana Image Renderer service.
You can set parameters for all screenshots in \build\browser\browser.js
what was done:

  1. Nodejs installed
  2. yarn installed
npm install --global yarn
  1. made Clone the Grafana image renderer plugin Git repository.
  2. in repo folder execute and run service
yarn install --pure-lockfile
yarn run build

and

node build/app.js server
  1. Update Grafana configuration:
[rendering]
server_url = http://localhost:8081/render
callback_url = http://localhost:3000/
  1. in “grafana-image-renderer” folder \build\config\redrering.js set bin path to Chrome