Forum Discussion
Dashboard image not fitting
- 4 years ago
HI rolopezteteruk ,
There is no option to resize images directly. You need to define the properties with JSON code and upload the theme file into dashboard.
{ "imageHeight": { "type": [ "numeric" ], "displayName": [ "Image height" ], "description": [ "The height of images in pixels" ] }, "imageScaling": { "imageScalingType": [ { "value": "Normal", "displayName": "Normal" }, { "value": "Fit", "displayName": "Fit" }, { "value": "Fill", "displayName": "Fill" } ] } }
Reference:https://docs.microsoft.com/en-us/power-bi/desktop-report-themes#report-theme-json-file-format
https://community.powerbi.com/t5/Desktop/Dashboard-Background-Image-Size/m-p/924565
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Lucien
HI rolopezteteruk ,
There is no option to resize images directly. You need to define the properties with JSON code and upload the theme file into dashboard.
{
"imageHeight": {
"type": [
"numeric"
],
"displayName": [
"Image height"
],
"description": [
"The height of images in pixels"
]
},
"imageScaling": {
"imageScalingType": [
{
"value": "Normal",
"displayName": "Normal"
},
{
"value": "Fit",
"displayName": "Fit"
},
{
"value": "Fill",
"displayName": "Fill"
}
]
}
}
Reference:
https://docs.microsoft.com/en-us/power-bi/desktop-report-themes#report-theme-json-file-format
https://community.powerbi.com/t5/Desktop/Dashboard-Background-Image-Size/m-p/924565
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Lucien