Closed toerkl closed 11 years ago
I just realized that after switching to bootstrap thumbnails (https://github.com/ripienaar/gdash/pull/86) I can't figure out how to adjust the image size in all views. Any ideas?
Potential fix for this in bwhaley/gdash@4f4bfb7. Have not opened a PR yet. @lindqt01 @falkenbt Would you be willing to test out that commit?
@bwhaley happy to try it but now sure how to do it.
@bwhaley I tested it, looks good. Can you send a pull request?
Works like a charm! Thanks! Sorry, one last question. How do I specify a different size in the detailed view. Might want to have smaller thumbnail-like images on the dashboard and then bigger when clicking on a graph.
You can use ?width=xxx&height=yyy
in the query parameters to change the size in any view.
Does this answer your questions @lindqt01 ?
@bwhaley sorry a bit slow sometimes, thanks for the response. Do you put that in the URL then, in the browser, or somewhere else?
yes, in the URL. for example
http://gdash.example.com/my/dashboard/time/-1month/now?height=500&width=800
Or
http://gdash.example.com/my/dashboard/details/cpu/?height=500&width=800
@bwhaley thanks a lot for your help.
Hi,
Is there an easy way to set a different height and width of the graphs in the detailed view, i.e. after you have clicked on one of the graphs on a dashboard? I would like to have them bigger there if possible.
T