Slow with many pics in Categorie

Phoca Gallery - image gallery extension
Sushi
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Aug 2011, 11:15

Slow with many pics in Categorie

Post by Sushi »

I have 15 Categories. Some are empty, some have a few pics en one (Marco) has 1418 pics. That one is very slow when viewing the lange pic. Viewing the thumbs works fine.
This is the site I'm talking about: http://srilanka2011.catchingmoments.nl/index.php/fotos
Internet Explorer will even hang or gives script errors. Any ideas?
User avatar
woodyf4u
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 10 Jan 2009, 22:20
Location: The Netherlands
Contact:

Re: Slow with many pics in Categorie

Post by woodyf4u »

Hi, I think you have reached the max of images per category.
When showing a large image out of that category, Phoca Gallery has to index all the images.
So that makes the category-view slow.

I don't know the exact max of images per category, but for myself I use 50 -100 images per category.
Then the speed of the website is fine.
Sushi
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Aug 2011, 11:15

Re: Slow with many pics in Categorie

Post by Sushi »

Strange that there is a max image limit. But nevertheless...
I devided them in 3 sub categories and it works mucht better now.
Thanks for your reply!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49189
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Slow with many pics in Categorie

Post by Jan »

Hi, there are no limits in Phoca Gallery, all depends of performance of the server, how many items it is able to load from the database without having slowing down problems.

Jan
If you find Phoca extensions useful, please support the project
Sushi
Phoca Member
Phoca Member
Posts: 11
Joined: 17 Aug 2011, 11:15

Re: Slow with many pics in Categorie

Post by Sushi »

Yes ok, but when a page with 20 pics is loaded, why would it take a long time to open one picture on that page? At that moment, the number of total pics should not have any influence. Or am I thinking wrong?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49189
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Slow with many pics in Categorie

Post by Jan »

Hi, really no idea, this needs to be tested on the server with some debugging tool, on one site, all possible items are loaded (content, but modules, something from template, etc.) :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply