Version: v5

How to show uploaded images in Core / Universal PDFs

By default, Gravity PDF will display all files uploaded using the File Upload field as a bullet point list with links to those files.

The File Upload Field displaying a list of uploaded files in Core / Universal PDFs

Out of the box, it isn't possible to display uploaded images in the Core (free) or Universal (paid) PDFs, and we've done this for technical reasons – loading more than 10MB of images (less on some shared hosting) can cause significant PDF generation times, or PHP fatal errors.

To work around this limitation and display / show / embed uploaded images in Gravity PDF, we recommend the Slim Image Cropper for Gravity Forms plugin. This plugin can be configured to automatically resize images on the client-side, which helps prevent timeout issues during the PDF generation.

Add a new Slim Image Cropper Field to your form with a maximum width/height of no more than 1000,1000

Once installed, add a new Slim Upload Field to your Gravity Form. Just make sure to set the maximum image size of no more than 1000,1000 to prevent the aforementioned image size issue. Gravity PDF will automatically display / show uploaded images in the Core / Universal PDFs.

The Slim Image Cropper Field Displayed in Core / Universal PDFs Automatically

Last updated on