Page 1 of 1

random image order in plugin

Posted: 16 Dec 2016, 20:02
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

Re: random image order in plugin

Posted: 17 Dec 2016, 15:53
by Benno
Hi,
try this code: {phocagallery view=category|categoryid=21|imageordering=9}

Kind regards,
Benno

Re: random image order in plugin

Posted: 20 Dec 2016, 21:12
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?

Re: random image order in plugin

Posted: 20 Dec 2016, 22:34
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