Hello
I'm using the Fotogalerie plugin (v4.0) for some of my websites, which I find very usefull.
But is there a way to display the pictures in chronological order ? Indeed I would like the last picture uploaded to be shown in first position in the album (and not last as by default).
What piece of code should I modify for that ?
Thanks in advance for your help.
Cheers,
François
Fotogalerie : pictures displayed in wrong order
Moderator: Tata
Re: Fotogalerie : pictures displayed in wrong order
Hi François,
for me it's the right order
Try following in index.php of FotoGalerie:
It's not update-save, but it seems you do not update anyway, the current version is FotoGalerie 7.2 ...
Gert
for me it's the right order
Try following in index.php of FotoGalerie:
Code: Select all
// search for:
...
$groups=fogaRFile($fngroup);
$files=fogaRFile($fnfile);
rsort($files); // add this new line
...
Gert
Re: Fotogalerie : pictures displayed in wrong order
Which is in no way compatible with _xh - except you delete a couple of superfluous lines in the source code....Gert wrote: It's not update-save, but it seems you do not update anyway, the current version is FotoGalerie 7.2 ...
Gert
Re: Fotogalerie : pictures displayed in wrong order
Thank you very much, this does exactlly what I wantedTry following in index.php of FotoGalerie:
Code: Select all
Code: Select all // search for: ... $groups=fogaRFile($fngroup); $files=fogaRFile($fnfile); rsort($files); // add this new line ...