samtiria / nextgen-gallery

Automatically exported from code.google.com/p/nextgen-gallery
0 stars 0 forks source link

Request: make number of images on 'manage gallery' page configurable #448

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Manage a gallery
2. See 50 images per page

What version of the product are you using? On what operating system?

NGG 1.9.0 on WP 3.2.1

Please provide any additional information below.

The number of images that can be managed on one page is hardcoded to 50. In 
admin/manage-images.php, around line 48:

$start = ( $_GET['paged'] - 1 ) * 50;

$picturelist = $nggdb->get_gallery($act_gid, $ngg->options['galSort'], 
$ngg->options['galSortDir'], false, 50, $start );

Since some galleries can grow pretty big, sometimes hundreds of images, 50 
images per page is not always very practical. I prefer to have 100 images on a 
page, but other people may have different preferences.

Could you make that number configurable?

Original issue reported on code.google.com by martijng...@gmail.com on 9 Dec 2011 at 8:43

GoogleCodeExporter commented 8 years ago
Yep can rework this later and put it into the screen options

Original comment by alex.cologne on 10 Dec 2011 at 1:23