Skip to content

Display an Uploaded Image in Your Notifications Using Merge Tags

Chris Eggleston 1 min read

Symptoms

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, use the chat or leave a comment below and we’ll get back to you.

Comments

Ask a question or leave a comment

Your email is never shown. For help with a specific form, share what you expected and what happened instead.