add Snippets::getMainPhoto