text code cleanup on photo page