validator.isIn can only handle string values.

Added a validator.isBoolean function.
Outputting small, medium and large preview URLs if they are available.
Not generating a wide image if the source is too small.