How to Set Image Size in PDF using PDF.co and Zapier

We prepared this step-by-step tutorial with screenshots on how to set image size when adding to PDF using PDF Filler action on PDF.co for Zapier. This is to set your desired image size when you add an image to a PDF file to fit it perfectly.

Screenshot of the Sample PDF file without the image
Screenshot of Sample PDF
Sample image to be added to the Sample PDF
Sample Image

Step 1: Create a Zap

Start by clicking on Make a Zap! at the upper-left corner of your Zapier dashboard.

Step 2: Create New Trigger

Under “Trigger” you can see App Event, search and select Google Drive from the list of apps.

Choosing the Trigger App Event

Note

If you are not a Google Drive user, you can use a different cloud storage service such as Dropbox, OneDrive, etc., and look for a similar Trigger Event.

Step 3: Choose New File in Folder Trigger

Under Trigger Event select New File in Folder. This way every time there’s a new file in your folder, it will trigger this zap.

Choosing the Trigger Event New File in Folder

Step 4: Connect Google Drive Account

Select or connect your Google Drive account to Zapier.

Choosing a Google drive account to be used.

Step 5: Select My Google Drive

Select My Google Drive as the drive to use.

Choosing My Google Drive as the drive to be used

Step 6: Select Folder for Input Documents

Select the Folder on your Google Drive where input documents will be added.

Choosing the folder where your input files come from.

Step 7: Test Trigger

Click Test Trigger. After running a successful test, click continue.

Testing the trigger if it's setup correctly

Step 8: Create New Action Event

Since we’re done with our trigger event, let’s move on to the action event. Under “Action” you can see App Event, search and select PDF.co from the list of apps.

Choosing PDF.co as the Action App Event

Step 9: Select PDF Filler Action

Under Action Event select PDF Filler. PDF Filler can help you add something with your PDF, e.g. text, images, fill PDF forms, etc.

Choosing PDF Filler as the Action Event

Step 10: Connect PDF.co Account

Select or connect your PDF.co account to Zapier. You can get your API key from the PDF.co dashboard.

Connecting PDF.co account to Zapier

Step 11: Set Source PDF

Under Set up action set the Source PDF as Web Content Link.

Choosing Web Content Link as the Source PDF

Step 12: Set Image Placement

Under Images Set the value with the following format (x;y;pages;urltoimage;linkToOpen;width;height).To get X and Y coordinates for objects in PDF please click here to open PDF Edit Add Helper.

Setting the value for the image that will be inserted to your PDF File

Step 13: Set Output PDF Name

Set the Output PDF Name, then hit continue.

Setting the Output PDF Name

Step 14: Test Action

On the Test action step click TEST & REVIEW to check if there are any errors.

Testing the action to see if it is setup correctly

Step 15: Turn Zap On

Once the test returns as successful you can then TURN YOUR ZAP ON. Give your Zap a name by editing the Name your zap text located at the upper-left corner of your screen.

Step 16: Output

This is now the invoice with the image set at 300 x 300 pixels. The size is customizable and you can set your own image size.

Screenshot of the Output PDF with the sample image on it
Screenshot of Output PDF