Renamed copyImgFromRemote method to getMediaFromRemoteImg