updated get all images function to return urls, location and date