Closed saeedesmaili closed 8 months ago
I have tested sortOrder="desc"
and sortOrder="desc"
with my web page and they work as expected. Please note that randomize is not an option of sortOrder, but instead is a independent parameter, it is used like this:
{< gallery match="images/*" randomize=true >}}
Maybe it has something to do with the names of your images. Can you provide a small sample project to demonstrate your problem?
I tried the desc
order on another laptop and it works now when building locally (probably there was an issue on my side).
And thanks for making it clear how the randomize
should be used, I never realized it's a separate parameter.
I'm using the shortcut as stated in the
readme
:But changing the value of
sortOrder
toasc
orrandomize
doesn't seem to do anything, and with all three values the sorting of the images is from first to last. Am I doing something wrong here?