Add getUrl argument to change the media extension