See the File constraint for the bulk of the documentation on this constraint.
This constraint shares all of its options with the File constraint. It does, however, modify two of the default option values:
string default: an array of jpg, gif and png image mime types
You can find a list of existing image mime types on the IANA website
This file is not a valid image
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.