Jump to content

Recommended Posts

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 ;)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.