Changed the {{photos}} replacement