fix up use of and display of photos