Ignore:
Timestamp:
Mar 7, 2014, 12:41:13 PM (10 years ago)
Author:
plg
Message:

with Piwigo 2.6, Stripped does not take GThumb nb_image_page into account, let's force it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/main.inc.php

    r21551 r27592  
    3333function GThumb_init()
    3434{
    35   global $conf, $user, $page;
     35  global $conf, $user, $page, $stripped;
    3636 
    3737  // new param in 2.4.c
     
    4444  $user['nb_image_page'] = $conf['GThumb']['nb_image_page'];
    4545  $page['nb_image_page'] = $conf['GThumb']['nb_image_page'];
     46  $stripped['maxThumb'] = $conf['GThumb']['nb_image_page'];
    4647  $conf['show_thumbnail_caption'] = $conf['GThumb']['show_thumbnail_caption'];
    4748}
Note: See TracChangeset for help on using the changeset viewer.