Picture numbers control in config-file
Brought to you by:
spajot
Hi,
I think it would be great if the picture number display
could be customized in the config file.
- For example to make it possible to turn off the
numbers when there is a folder only containing an icon-
image and subfolders without having to temper with the
php-code.
- Only show the numbers where there is more than 1
picture
- Or turn it off for levels containing sublevels.
- Or if there is a number of pictures on a toplevel make
it contain all pictures (including the picturenumber of the
sublevels)
Thank you very much for all that great work!
dragontear
Logged In: NO
*- Or if there is a number of pictures on a toplevel make
it contain all pictures (including the picturenumber of the
sublevels)*
that would be fantastic!!!
Logged In: NO
*- Or if there is a number of pictures on a toplevel make
it contain all pictures (including the picturenumber of the
sublevels)*
that would be fantastic!!!
Logged In: NO
Use the folloing code in spmg.php version 1.4.7:-
line
157 $spgm_cfg['conf']['PictureNumbers'] = true;
1238 if ($spgm_cfg['conf']['PictureNumbers'] == false)
$strHtmlPictureNumber = '';
1239 else {
1262 }
and in spmg.conf add the following
# toggle to display the number of pictures in a gallery.
# value must be true or false
# if commented out, default value is true
#
#$spgm_cfg['conf']['PictureNumbers'] = false;
regards
Kevio