Problem on entity callback for uploading image