Well putting the page size according to the template: Width: 420 Height: 297 It satifies itself, it starts at 0, but too large area to use it embedded in the html page. So I reduce to the size occupied by the image, but done that the distance on the y axis does not start at 0 but approximates at 520. So what's the way to set this up?