Implemented photogrid and cards