Validate images