Problems loading images: Gravity Forms Secure File Download Location

Version 2.1.1 of Gravity Forms added security improvements that affect how GravityView loads images on a View.

GravityView supports Gravity Forms' secure download locations, which hide where a file has been uploaded. This is good for security, but it can affect the View loading speed if your View contains multiple images.

Note how the secure link doesn't show the name of the file, but the insecure link does:

  • Secure:
  • Insecure:

How to disable the secure paths

Adding the code below will direct GravityView to use the insecure path to the image when displaying it.

add_filter( 'gform_secure_file_download_location', '__return_false' );

How to add this code snippet to your website.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us