Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max size for image? #20

Open
flopp999 opened this issue Apr 4, 2018 · 5 comments
Open

max size for image? #20

flopp999 opened this issue Apr 4, 2018 · 5 comments

Comments

@flopp999
Copy link

flopp999 commented Apr 4, 2018

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

Anyone else that have the same problem?

@ghost
Copy link

ghost commented Apr 17, 2018

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

@pointer2002
Copy link

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

7yl4r added a commit to 7yl4r/grafana-pictureit that referenced this issue Jan 8, 2019
Row height is fixed & set by user, row width is dynamic.
Fixes vbessler/grafana-pictureit#20.
7yl4r added a commit to 7yl4r/grafana-pictureit that referenced this issue Jan 8, 2019
Row height is fixed & set by user, row width is dynamic.
Fixes vbessler/grafana-pictureit#20.
@7yl4r
Copy link

7yl4r commented Jan 8, 2019

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

@7yl4r
Copy link

7yl4r commented Jan 9, 2019

I see several commits on forks that may be relevant to this issue (wehkamp@0eb38a4, wehkamp@a0e5280, wehkamp@7803490) 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) )?

@TehSemni
Copy link

height:'100%

Hi,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants