changed image attribute validation, file attributes validators now have a chance to preprocess file references and enforce default values
Merge pull request #118 from evillemez/validation

changed image attribute validation