From acbff2c95adef524eafc3c93b39c3fd0880eb3db Mon Sep 17 00:00:00 2001 From: lsces Date: Thu, 16 Apr 2026 12:10:46 +0100 Subject: Get the right number of images per page --- includes/display_fisheye_gallery_inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/display_fisheye_gallery_inc.php b/includes/display_fisheye_gallery_inc.php index 24bfe28..bda8cd5 100755 --- a/includes/display_fisheye_gallery_inc.php +++ b/includes/display_fisheye_gallery_inc.php @@ -10,7 +10,7 @@ $displayHash = [ 'perm_name' => 'p_fisheye_view' ]; $gContent->invokeServices( 'content_display_function', $displayHash ); $listHash = $_REQUEST; -$listHash['max_records'] = 12; +$listHash['max_records'] = $gContent->mInfo["images_per_page"] ?? $max_records; switch( $gContent->getLayout() ) { case 'auto_flow': -- cgit v1.3