object url method - returns url to image or file params