This mod has to be almost around ~7 years old now so i am unsure if i had originally wrote the code to delete the image, a good alternative would be to simply store the image as a data uri so it can be stored in the database then you wouldn't need to worry about the actual image anymore...
http://www.omdbapi.com/
This is the url for the actual site, i can see some new options have been implemented such as the search feature so it really could be extended in such a way for you to have a drop down selector on the upload page to allow the user to pick the right IMDb info.
A quick search on github gives some nice results for SDK's written by other people:
https://github.com/search?l=PHP&q=om...utf8=%E2%9C%93
So it may be best to just write a new module using one of those sdk's