add publishment for less than 6 photos per page