multiple images display

Phoca Gallery plugins - plugins for Phoca Gallery extension
tomzio
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 Aug 2008, 17:05

multiple images display

Post 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
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: multiple images display

Post 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
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
tomzio
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 29 Aug 2008, 17:05

Re: multiple images display

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48535
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: multiple images display

Post by Jan »

yes limitstart = 2, limitcount = 1 (in case if only one image should be displayed)

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