WordPress.org

Support

Support » Plugins and Hacks » User Submitted Posts » [Resolved] No error message displayed when file size is too large

[Resolved] No error message displayed when file size is too large

  • I was doing some testing on my phone and discovered that images which I attached were not being uploaded to my site.

    After some investigation, I increased the max file size and it began working.

    Would it be possible to display a message to the user and let them know what the max size of the image is? Do you have any suggestions for what I should set the max size to?

    https://wordpress.org/plugins/user-submitted-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    @specialk

    Yes I’ve added that item to the list for the next update. For the max image size, anything really that prevents a visitor from uploading massive amounts of data to your site is the reason why that setting is included. For full-screen images at web-resolution (72dpi), there is no need to allow anything over 5MB or so. But even 10MB as a limit makes sense. It really depends on the average size of the file(s) that you are allowing users to upload. In general 2-10 MB seems like a good amount.

    Thank you so much for replying! At first I thought that it just wasn’t working from mobile, it took me a while but I am glad that my theory of what was happening was correct.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] No error message displayed when file size is too large’ is closed to new replies.
Skip to toolbar