1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2009
    Rep Power

    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).
  2. #2
  3. No Profile Picture

    Join Date
    Jun 2002
    Raleigh, NC
    Rep Power
    You might try using inches to specify the size, and possibly alter the z-index. (http://www.ghidinelli.com/2006/08/02...-in-cfdocument )

IMN logo majestic logo threadwatch logo seochat tools logo