Validate images too while we're at it.