validating images type and size