Added a function to get image urls