Existing thumbnail checking when passing entities

media