after 3 or 4 hours of code review here my findings till now:
The upload.php file handles all of the upload, called by upload.js
But it looks like there is no do_action to hook an image validation.
I tried to implement an action listener, wich will be activated when a new item is uploaded. In this way I could make an ajax call to WordPress where i get the size validation data.
But this won't work, because there isn't an action listener like this.
It would be great to have an do_action() somewhere in the upload.php and an outgoing error handling.
Of course I could had overseen something. This would be best and save me a lot of trouble 😛
Would be great if anybody could help me here.
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Image Size Validation’ is closed to new replies.