In sources gallery2.php
You can change the number from 50 at
two spots
function Gallery_BuildRelatedIndex()
{
global $smcFunc, $txt, $context;
isAllowedTo('smfgallery_manage');
@ini_set('max_execution_time', '900');
$context['start'] = empty($_REQUEST['start']) ? 50 : (int) $_REQUEST['start'];
$request = $smcFunc['db_query']('', "
SELECT
COUNT(*)
FROM {db_prefix}gallery_pic
");
list($totalProcess) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);
// Initialize the variables.
$increment = 50;
Themes/default/gallery2.template.php
The countdown
if (empty($context['continue_countdown']))
$context['continue_countdown'] = 3;
Change 3 to a smaller number 1 or 2