Display an Uploaded Image in Your Notifications Using Merge Tags

THIS POST MAY CONTAIN AFFILIATE LINKS. PLEASE READ OUR DISCLAIMER FOR MORE INFO.

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 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.

Get the latest news, tips, and how-tos all delivered to you!

Your information is used only for email communications by GravityRanger. We do send the occasional product promotion email.

Name*
This field is for validation purposes and should be left unchanged.


>