Don't you need `$author->getImage() != 0` here as well?