fixes issue #47

Changed media URL to go to resource.