Page 1 of 1

Phoca Gallery Slideshow Images Limit

Posted: 01 Dec 2012, 21:59
by kemin
Hi, this is my guide to add the limit number of images loaded by phoca gallery slideshow. For me it's useful when there are many images in a category.

In plugins/content/phocagalleryslideshow/phocagalleryslideshow.php

Add after:

Code: Select all

$pause					= 2500;
this code:

Code: Select all

$limit					= 100;
<-- you can increase this value

Add after:

Code: Select all

else if($values[0]=='imageordering')	{$tmpl['imageordering']	= $values[1];}
this code:

Code: Select all

else if($values[0]=='limit')			{$limit					= $values[1];}
Replace

Code: Select all

. $imageOrdering;
with

Code: Select all

. $imageOrdering		   
	  . ' LIMIT ' . $limit;

Re: Phoca Gallery Slideshow Images Limit

Posted: 08 Dec 2012, 00:16
by Jan
Hi, thank you for the guide.
Jan