Added method for retrieving list of images

You can specify parameters to list all images,
or dangling images.