fix for firefox image display, add some content on class photos, display message only of no names have been added