photo grid is relative