Forum Replies Created

Viewing 1 Topics - 1 through 1 (of 1 total)
Author Posts
November 6, 2013 at 12:24 am in reply to: Image Size Validation 9784
Markus Markus

Hi again…

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.

Best regards

Viewing 1 Topics - 1 through 1 (of 1 total)