Display an Uploaded Image in Your Notifications Using Merge Tags


If you’re using a File Upload field in your Gravity Forms form to collect an image and the {all_fields} merge tag in your form notifications, the email will only include a hyperlink to the image file.

If you prefer to configure a custom notification, and want to display the uploaded image instead of a hyperlink, it can be done.

How to fx it

When adding the File Upload field merge tag to you custom notification message, you will need to wrap the merge tag in a <img> tag as demonstrated below.

<img src="{Your File Field Merge Tag:ID}">

Note: Be sure that you add the code snippet in the Text tab in your Message editor as shown below:

Need more help?

If you still need help feel free to use the comments or chat options below.

If you have an active Gravity Forms license, you can also open a support ticket here.

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments