Skip to main content
Version: 4

How to display uploaded images in Core / Universal PDFs

note

The Slim Image Cropper for Gravity Forms plugin has been discontinued and Image Hopper is the go-to solution now. Because v4 has reached its end of life, we've chosen to leave the original recommendation as-is.

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 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 include uploaded images in the Core / Universal PDFs.

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