Image field displaying URL instead – but not every time!

Home Forums Bugs and Troubleshooting Image field displaying URL instead – but not every time!

This topic contains 4 replies, has 3 voices, and was last updated by  Andy 6 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11598 Reply

    Andy
    Participant

    I’m using the plugin to create ID badges for an event, people sign up on the website and submit a photo and then the form emails me the ID badge to print.

    By far the majority of the PDFs (though not all!) that get emailed to me though have the image URL text displayed in the image field rather than the photo.

    Weirdly though, when I log into wordpress and select the same record and ‘Preview PDF’ it works fine and the PDF appears in the browser as expected.

    Any idea what is causing this?

    #11599 Reply

    admin
    Keymaster

    We suspect the image download is not complete when the email is sent. We have found the new image field does not disable the submit button which allows Submit to be clicked prior to the download completing.

    One workaround would be to separate the image upload field with a “Next Page” field to give the file time to upload. Another workaround would be to add the shortcode to the body of the email action template so you receive a link allowing you to download the PDF

    Let us know if the above works for you as we remain at your service.

    #11662 Reply

    Andy

    Thanks for the response. That does make sense.

    I’ve tried adding the ‘Next’ button but that doesn’t seem to be making a difference. I’ve also tried adding the download link to the form notification email. The link appears in the email but when I click it I get the following error message.

    There was an error generating the PDF file.
    Your server wasn’t able to upload PDF file:

    Any idea why that is?

    A

    #11664 Reply

    admin
    Keymaster

    If the email link has an error each time, then there is likely a problem with the shortcode. Paste the shortcode here for further review or complete this form if you would like us to take a look at your installation.

    We remain at your service.

    #11666 Reply

    Andy

    That’s for the swift response!

    You are right, I had got the dataset and Layout mixed up and put the [ID] into the wrong bit of the shortcode.

    All fixed now, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Image field displaying URL instead – but not every time!
Your information: