addded template for photos