Limit the number of galleries per page in the BE.