• I have created a form that requires users to upload 2 photos.

    <p>Photo 1<br />
    [file your-file1 filetypes:jpg limit:10240kb]</p> 
    <p>Photo 2<br />
    [file your-file2 filetypes:jpg limit:10240kb]</p>
    <p>[submit "Send"]</p>

    I can receive both the photos through email but my server only stores the first photo.

    My “Save Contact Form 7” table shows links to both photos submitted by the user but I can only open the first link. The second link opens 404.

    Upon checking /wp-content/uploads/nimble_uploads the server, only 1 photo is stored in the server.

    My server:
    upload_max_filesize is set to 30mb
    post_max_size is set to 60mb
    max_file_uploads is 20

    What else could be the problem? I don’t see any error in the logs. What else should I check?

    Thanks.

    • This topic was modified 6 years, 10 months ago by adamhui.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey Adam,

    Are you using WP Mail or SMTP? I had problems with doing this as well and I changed to using SMTP and it resolved all of these issues. Just a thought.

    Thread Starter adamhui

    (@adamhui)

    Hi dmurs7,

    I have no problems receiving the email with both the attachments. I’m having problems storing both photos on the server. Only one photo could be stored. I don’t know what to do next. Hope that someone could guide me to the right direction.

    Thanks.

    Hi Adamhui; I’m no expert on form 7 but I read your post and had just read about this problem that was solved using the following plugin — https://www.ads-software.com/plugins/search/multifile+upload+field/

    hope it work! Nice way to get the file size also!
    Dave

    Thread Starter adamhui

    (@adamhui)

    Hi heater101. I have come across the multiple upload field. I don’t think the users of the form that I have created are savvy enough to select multiple files in one go. I will need to provide 2 separate fields to select the files individually. I hope there can be a solution to this soon. The form is now live.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘File uploads’ is closed to new replies.