简体   繁体   中英

Front-end uploads wordpress

I have a wordpress webiste which allows users to upload videos and photos. instead of the upload timing out and nothing happening when the file is too big, is there anything that i can do to notify the user when the file is too big and some how automatically resize the file?

You can try below solution:

  • You should increase the file upload limit in php.ini.
  • Or you can also do this with your htaccess file, like below

php_value file_uploads On php_value upload_max_filesize 100M php_value post_max_size 100M

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM