added a function to get images urls in a page