Using mime types to determine supported image formats.
Added sub-repository image types.