random image order in plugin

Phoca Gallery plugins - plugins for Phoca Gallery extension
thepimster
Phoca Member
Phoca Member
Posts: 29
Joined: 17 Sep 2012, 13:51

random image order in plugin

Post by thepimster »

Hi,

trying to randomize the images in the page's gallery (everytime the page reloads), but without luck. What am I doing wrong?

Here is the code I have inserted: {phocagallery view=category|categoryid=21|imagerandom=1}

This code is inserted in i.e. this page

Joomla 3.6.4
phoca gallery: 4.3.4
phoca gallery plugin: 4.3.1

Thanks

Pim

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: random image order in plugin

Post by Benno »

Hi,
try this code: {phocagallery view=category|categoryid=21|imageordering=9}

Kind regards,
Benno
thepimster
Phoca Member
Phoca Member
Posts: 29
Joined: 17 Sep 2012, 13:51

Re: random image order in plugin

Post by thepimster »

Sorry for my late reply...It works like a charm, thank you very much!

Just so I might understand; what is the difference? what is ..|imageordering=9} supposed to do?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: random image order in plugin

Post by Benno »

You're welcome!
Just so I might understand; what is the difference? what is ..|imageordering=9} supposed to do?
See: https://www.phoca.cz/documents/14-phoca- ... ery-plugin
imageordering - set ordering of images: 1 - Ordering ASC, 2 - Ordering DESC, 3 - Title ASC, 4 - Title DESC, 5 - Date ASC, 6 - Date DESC, 7 - ID ASC, 8 - ID DESC, 9 - Random
Kind regards,
Benno
Post Reply