Add viewPhoto and comment management.