
December 13th, 2012, 04:01 AM
|
|
Contributing User
|
|
Join Date: Oct 2009
Posts: 59
Time spent in forums: 11 h 27 m 24 sec
Reputation Power: 4
|
|
|
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).
|