Documentation

Q: Is there any way to resort the pictures? At the moment they are displayed with first uploaded pictures first, last uploaded pictures last.  I'd like to reverse the order.

Answer: Yes, make an override of the flash_gallery_category model (flash_gallery/models/flash_gallery_category.php) and add this directly after line 57:

$fileList->sortBy('fID','desc');

after you add that, it should look like this:

$fs = FileSet::getByID($Cat->fsID);
$fileList = new FileList();
$fileList->filterBySet($fs);
$fileList->filterByType(FileType::T_IMAGE);
$fileList->sortBy('fID','desc');

Override how-to: https://www.concrete5.org/documentation/how-tos/developers/change-th...