mort Posted June 27, 2007 Share Posted June 27, 2007 Hi Making a designed ad dynamically into a PDF and having some problems. Eventually I will get all the content from a PHP form, but for now just using static content to get it all in place and looking as it should. Anyways I am calling an image, which I need to fit exactly into the top right of one of the cells I have made, but for some reason it will get about 1cm away from the right edge, and then it will go down and to the far left. There is plenty more room on the page as its A4 and landscape, and I am making an A5 ad. The line I am using to call the image is: $this->Image('RTV900_Camo.jpg', 121.8, 35, 88.2, 74.8, 'jpg'); When I make the x value 121.9, it moves down and to the left in the wrong place. If anyone can help me out on this that would be great, as am pulling my hair out here Quote Link to comment https://forums.phpfreaks.com/topic/57378-fpdf-image-placement-not-going-where-i-want-it-to/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.