Fix image sizes pdf

The images will be shown in the appropriate positions.