messed printing by setting height to image - don't know what is wrong there