Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

index plus pictures
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=277
Page 1 of 1

Author:  novw [ 21. Apr 2006, 15:22 ]
Post subject:  index plus pictures

you are ofcourse going to tell me I missed a switch, :lol: but...

I have a directory with both directories and files in it. The user ends up with

Image

2 sets of pagenumbers ?!

(part of my_config.php)
Code:

$autodetect_maximum_thumbnails=false; // new 1.2 - twg tries to display as much thumbnails as possible without creating scrollbars - is turned off in low bandwidth mode!

  $thumbnails_x = 5; // Number of images in a row on the thumbnail page.
  $thumbnails_y = 2; // Number of images in a column on the thumbnail page.

  $menu_x = 5; // Number of galleries which are shown in a row on the overview page.
  $menu_y = 3; // Number of rows on the overview page.

Author:  TinyWebGallery [ 21. Apr 2006, 16:31 ]
Post subject: 

No - This is how s works - if you have folders and images normally for each line of folders one lin less of images are displayed - you have many subfolders and therefore all images except of one line are shown.

the 1st line of 1|2|3 you have for the folders.
the 2nd line of 1|2|3 for the images - you would have to change a small line of code if you want to changes this behaviour.

/michael

Author:  novw [ 21. Apr 2006, 20:52 ]
Post subject: 

hm. allright. Is there any (foolproof :lol: ) way to have one set of 1|2|3 with pics first and dirs after that ?

(yippie a config switch : $dirs_first=false :wink: )

Author:  TinyWebGallery [ 21. Apr 2006, 21:53 ]
Post subject: 

1.4.1 will have this ;).

Think it should be ready for "testing" on Monday :).

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/