Use boolean for hasImage not string.