Page 1 of 1

Disable unlimited number of displayed photo's

Posted: 18 Feb 2010, 14:41
by andries78
Is there a way to disable the view function "show all photo's" in the phoca gallery?
On this moment I have approximately 260 photo's in a category.
If a user click on the button "show all photos" below the phoca gallery webpage, the website give's a error...
(could not connect to the SQL database, the website is very slow and freezes)


I hope there is a solution.
(ok, I can limited the photo's in the category but that's not a good solution, I think so)
:)

Re: Disable unlimited number of displayed photo's

Posted: 18 Feb 2010, 20:57
by Jan

Re: Disable unlimited number of displayed photo's

Posted: 19 Feb 2010, 09:19
by andries78
Thanks for your reply.

I have seen the params to set the pagination values.
But I could not found the options "show all"
If I set the params to 5,10,15,20,50 you see in the pull down menu the follow options:
show: 5 pictures
show: 10 pictures
show: 15 pictures
show: 20 pictures
show: 50 pictures
AND....
SHOW ALL PICTURES... <---- Where can I disable THIS option?

Re: Disable unlimited number of displayed photo's

Posted: 22 Feb 2010, 16:17
by Jan
Hi, try to search this forum, there are guides how to remove the "display all" from the code.

Jan