Use Badge#getImageUrl in views.