gravity forms image attachment URL
-
I’m having an issue with the Gravity forms plug-in and image attachments to forms.
The images all upload correctly to the GCP bucket but when the form is submitted, however in the notification email sent by Gravity Forms the URL to the attached image is incorrect.
Example: image added to form and form submitted,
[https://my_bucket_name.storage.googleapis.com/wp-content/uploads/gravity_forms/21-ccfe41f305235ffc95a230aa42811a5d/2023/03/fbdfc301-lobster-in-bucket.jpg]But in the notification email, the URL in the body of the email to view the attached image is
[https://storage.googleapis.com/my_bucket_name/gravity_forms/21-ccfe41f305235ffc95a230aa42811a5d/2023/03/fbdfc301-lobster-in-bucket.jpg]Note the missing /wp-content/uploads/ directories from the URL.
Any guidance on how to fix this issue? Gravity Forms support says that value is pulling from wp_upload_dir(). When i check what is returned from the function I get the correct GCP bucket, so can’t figure out what may be re-writing that URL in the notification email.
- The topic ‘gravity forms image attachment URL’ is closed to new replies.