limit the number of items shown in the gallery listing page when in detail view to prevent large galleries from generating a large amount of xml