add mainphoto when there isn't one