Good day !

My question is following:

I know how to show errors while uploading image from WordPress media uploader by using WordPress filter hook:

enter image description here

But how to show same error box when user select an image and hit "select" button. I want to add size check of selected image, before inserting. Any ideas how to do that ?

Thanks !



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.