deleting .url from image tag