add gallery photo layout