add layout for photos