Prevent large image uploads

Posted by Prem Tiwari | Updated on

In this case the user has more work to do, as they will have to scale down the images on their own. You could filter the wp_handle_upload_prefilter:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers