Only return images supported by the system

getimages can now return a list of supported media types and it will
only return images which a modern browser can display natively or which
the system can generate a preview for.