better photo thumbnail, added red header, refactored a bit