impl basic functions for photo comment