[solved] Gallery opens sec. page, allthough enough room

Phoca Gallery - image gallery extension
Buris
Phoca Member
Phoca Member
Posts: 13
Joined: 21 Oct 2012, 14:25

[solved] Gallery opens sec. page, allthough enough room

Post by Buris »

When i open the picture view in the front end, the gallery opens a second page, allthough there would be still enough room to show all pics. The last line of pictures is not complete.
How can I change these setting. What is wrong?
Last edited by Buris on 03 Dec 2012, 14:20, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Gallery opens sec. page, allthough enough room

Post by Jan »

Sorry I don't understand, can you paste a screenshot?
If you find Phoca extensions useful, please support the project
Buris
Phoca Member
Phoca Member
Posts: 13
Joined: 21 Oct 2012, 14:25

Re: Gallery opens sec. page, allthough enough room

Post by Buris »

Watch here

betabikes.de/index.php/bilder/category/9-alp-200-edizione-speciale

There is enough space for three more pictures on the first page, but the the gallery put them on the next one. Why?
iami
Phoca Member
Phoca Member
Posts: 12
Joined: 10 Jan 2012, 10:41

Re: Gallery opens sec. page, allthough enough room

Post by iami »

There is a parameter for "pagination". It looks like you have values of [5, 10, 15, 20, 50] in the list with 20 as a default value. Since you have 4 photos per row and include the "back button", 20 photos doesn't work out evenly and it looks cut off. You could increase the default value to 50 for this gallery. This will work if you don't continue to add photos. More generally, if you'd like keep the same number of photos in each row, make sure your pagination values are one less than multiples of 4 (e.g. 23, 27, 31, etc.)
Buris
Phoca Member
Phoca Member
Posts: 13
Joined: 21 Oct 2012, 14:25

[solved] Gallery opens sec. page, allthough enough room

Post by Buris »

Perfect!
It is so easy, when you know it...

Thanks a lot, iami.
Post Reply