Page 1 of 1

multiple images display

Posted: 29 Aug 2008, 17:23
by tomzio
Hello to everyone

I've searched the forum and I didn't find an answer to my question. It is about using the limitstart and limitcount parameters for multiple image display.

I have the folowing in my article:

{phocagallery view=category|categoryid=2|imageid=13|limitstart=13|limitcount=2|displayname=0|displaydetail=0}

is above the right way to display two images starting from image with id=13 ? i.e. should I see images with id=13 and 14 visible on page (both images are in galleryid=2)

It doesn't work in my case so ..... please help me :)

Thank you in advance.
BR
Tomek

Re: multiple images display

Posted: 29 Aug 2008, 18:11
by caro84g
Hi,

when you use the limit parameter you don't need to use the imageid (parameter or id).

the limitparameter takes the numbers from the ordering in your backend.
e.g. when the first 2 images from you category must be shown you use: limitstart=0|limitcount=2

when image 3 and 4 from your category must be shown you use: limitstart=3|limitcount=2

So in the latter case the total code will be:
{phocagallery view=category|categoryid=2|limitstart=3|limitcount=2|displayname=0|displaydetail=0}

The imageid's are not taken into account with this parameter.

I hope I explained it well.

Carolien

Re: multiple images display

Posted: 29 Aug 2008, 18:32
by tomzio
Hi,

thank you for an answer. It works but ... i dont know is that only in my case but I need to count from 0 i.e. if I want to display third (3) image from a category I need limitstart=2. Is that correct or something goes wrong in my case.

Once again thank you
BR
Tomek

Re: multiple images display

Posted: 30 Aug 2008, 21:09
by Jan
yes limitstart = 2, limitcount = 1 (in case if only one image should be displayed)

Jan