I need to send custom form data parameter while loading the image. For the Media -> Add new page, the code works (an additional parameter is sent when the image is loaded