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

sub-directory only on first page
https://www.tinywebgallery.com/forum/viewtopic.php?f=3&t=1365
Page 1 of 1

Author:  TheVictim [ 27. Jan 2008, 16:02 ]
Post subject:  sub-directory only on first page

Hello,

I use a lot of subdirectories in de picture folder.

The thing I don't like is that this subdirectory is showing up on top of every thumbnail page.

Is it possible to do this only on the first page so that the rest of the pages are full with the thumbnails and you don't see the subdirectory folder any more?

Greetings

Hugo

Author:  TinyWebGallery [ 27. Jan 2008, 19:00 ]
Post subject: 

I don't understand what you really need - when the subfolders are not shown than you cannot navigate there.

What you can do is to show the folders below the thumbnails - ther is a setting for this.

/Michael

Author:  TheVictim [ 28. Jan 2008, 16:52 ]
Post subject: 

Hello,

I will explain want I mean.

I have directories with 75 pictures so I get 5 pages with 15 thumbnails.
When I create a sub directory I get 15 pages with 5 thumbnail and on al these 15 pages I see on top the subdirectory.

What I would like is that only the first page shows the subdirectory with 5 thumbnails and the following pages shows 15 tumbnails without the subdirectory on top.
Navigation can then only be done then from the first page.

For me this makes more sense then the opportunity on every page to go to the subdirectory to which I didn't want to go already on the first page because I want to see the pictures.

Greetings

Hugo

Author:  TinyWebGallery [ 28. Jan 2008, 17:13 ]
Post subject: 

ok - now I get you ... you have folders with images and subdirectories.

that's true.

i'll check if this can be done because this whole thing works recursive and looks the same for each page.

/Michael

Author:  TinyWebGallery [ 29. Jan 2008, 19:55 ]
Post subject: 

Hi,

I checked and this is quite hard to do because the paging is the problem. On the first page I would have to display less images and later on more images - this leads to a paging that is not equal.

/Michael

Author:  TinyWebGallery [ 30. Jan 2008, 00:29 ]
Post subject: 

I have implemented a small workaround for 1.7.
You can set that the directories are only shown on the first page but then the number of thumbnails are always the same.
And this means that on the first page with the folders more thumbnails are displayed like normal. Therefore you get a scroller here.

On all other pages the directories are then not shown and the thumbnails look good like ever ;).

I might implement this in a better way in 1.8 but the changes would be to big this close to a release.

/Michael

Author:  TheVictim [ 30. Jan 2008, 09:46 ]
Post subject:  Thanks!

Nice work!

For now this sound like a good workaround.
Where can I download this version?

Greetings

Hugo

Author:  TinyWebGallery [ 30. Jan 2008, 12:06 ]
Post subject: 

in the forum in a couple of days - I have to check a couple of things in RC2 before I can release this.

/Michael

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