Emptying the photos from the template html