XQuery/Image Library

Motivation
You want a script that will display a small thumbnail of all the images in an image collection. The images may have many file suffixes (jpg, png, gif etc).

Method
We will write an XQuery that finds all the child resources in the collection that have the correct file types.