This page may contain affiliate links. Please read my disclaimer for more information.

Display an Uploaded Image in Your Notifications Using Merge Tags

  |  by Chris Eggleston

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.

Photo of author
About the Author
Chris Eggleston
Chris is not just a Gravity Forms enthusiast; he's a dedicated father and loving husband. As the proud owner of WP Mantis, he's on a mission to simplify the WordPress experience for site owners. He brings a unique perspective to the Gravity Forms community.

Advertisement

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments