grafana-pictureit icon indicating copy to clipboard operation
grafana-pictureit copied to clipboard

max size for image?

Open flopp999 opened this issue 6 years ago • 5 comments

I have tried 2 different images now and I cannot the whole image for both my images.

Anyone else that have the same problem?

flopp999 avatar Apr 04 '18 18:04 flopp999

I'm facing the same issue. 400px seems to be the maximum in height.

ghost avatar Apr 17 '18 13:04 ghost

workarround : in this plugin change the value of ng-style in module.html by 100% before : module.html:<div ng-style="{height:ctrl.panel.height,width:'100%' after : module.html:<div ng-style="{height:'100%',width:'100%',

Worked for me

pointer2002 avatar Jul 30 '18 10:07 pointer2002

oops. please disregard commits above. I should have tested before publishing. That fix doesn't work on that fork.

7yl4r avatar Jan 08 '19 21:01 7yl4r

I see several commits on forks that may be relevant to this issue (https://github.com/wehkamp/grafana-pictureit/commit/0eb38a4ad1b39297e4fa7e596f2a89e00aea36a3, https://github.com/wehkamp/grafana-pictureit/commit/a0e52805b41d9ef2ffc1f6850a7f4f2b37715f04, https://github.com/wehkamp/grafana-pictureit/commit/7803490299c5dda6a5588e023a061a6b90f4269d) but @pointer2002 's fix above and the latest on https://github.com/TLMiot/grafana-pictureit still had this issue when I tested.

It seems like a simple fix but I cannot determine why the panel height is frozen and image will not scale to fit the panel.

image

image

Is it is just me and my older grafana install ( Grafana v4.4.3 (commit: 54c79c5) )?

7yl4r avatar Jan 09 '19 17:01 7yl4r

height:'100%

Hi,

I tried this, then the plugin is disabled due to modified content!

TehSemni avatar Apr 14 '22 10:04 TehSemni