When using an image in a report template you need to specify a parameter format like ${imageFileId:widthxheight}
Problem is that the image will systematically and blindly resized to widthxheight, hence changing the aspect ratio of the original image. And there is no workaround to my knowledge, e.g pre-sizing the image beforehand won’t work.
A boolean parameter/configuration ‘keep aspect ratio’ somewhere would have made quite a sense.
In our case, the image depends on client & doc type, so we need to compute & change the widhtxheight manually for each client and each document, this is not very scalable…
As I already reported here, as reporting API users, we should really be able to extend the reporting logic in some way (e.g through spring beans), because this is a behavior one could (and likely would) override.
In that case, I would have overriden the corresponding ContentInliner and that would be done.