December 13th, 2012, 05:01 AM
CFDOCUMENTITEM shrinks image
I have an image (2450x518 pixels) which I want to print at the top of my PDF document, so I use the following:
<img src="file:///c:/IMS Project/Documents/Image/DPLetterHead.jpg" width="800" height="150" align="top"/>
and it works fine. Because the document can run over a page, it was decided that this image should be the header so, I embraced it with <cfdocumentitem type="header"> & </cfdocumentitem>.
The result reduced the image from a 7"x1.25" to 2"x0.25". I applied a width="8000" and it stretch to the correct width but when I applied height="2500", it went back to 2"x0.25". how can I correct this? (There is a distortion issue, but it's the lesser of the evils at the moment).
December 13th, 2012, 10:55 AM