Jasper Report needs to know the dimension of the image when you are preparing the layout. This means that you have to choose a predefined dimension and then you have to scale all the uploaded images to that dimension, so that they will be rendered properly by the report.