Forum How do I...?

How to stop prince 7.1 from displaying images HUGE

bamofa
Hello,
Have a quick question. We are currently using prince 7.1 and are encountering some issue. Images that are appear huge when the html is passed through prince.

Initial I used this CSS to overcome the issue which was caused by how some of our images were getting converted :
body {
prince-image-resolution: normal;
}

but now images other images such us png and jpeg are appearing huge. Any way around this or to force prince to not display the image that big.

Have attached the parameters 2 of the images.

Regards

  1. Capture.PNG16.9 kB
    image parameters of jpg
  2. Capture2.PNG23.0 kB
    image parameters of the png
mikeday
A prince-image-resolution value of "normal" means to use 96dpi, and "auto" means to check the intrinsic DPI stored in the image file itself, if it has one.

Of course, you can also apply the CSS width/height properties to directly specify the size you want.
bamofa
Thanks for the reply mike.