added url() and scope to imagepath