Just to make sure, are you displaying the image on a flat plane and have now made the green part invisible? And you have defined the plane to cast shadows - but you want to cast a shadow of only the girl?
There is a material called “Shadow Material”, that is transparent and receives shadows. But it sounds like you want the opposite of that.
The answer may be in this discussion.