Quote by hatric:
Any way to have the order in which an album's thumbnails are displayed to sort on the Filename of the picture (alphabetical)?
this is the first time i've heard anybody wanting this type of ordering. not that that matters.
I don't think that I'll be making this a feature, but if you are bent on sorting by filename, you'll have to get into the code. try this:
find this line in browse.php in the function inmAlbumThumbs()
Text Formatted Code
$result = DB_query("SELECT *" . $rateExpr . " FROM {$INM_TABLES['media']} WHERE aid='{$A['id']}' AND status='0'" . COM_getPermSQL('and') . $orderby . $offset);
and change it to read like this
Text Formatted Code
$result = DB_query("SELECT *" . $rateExpr . " FROM {$INM_TABLES['media']} WHERE aid='{$A['id']}' AND status='0'" . COM_getPermSQL('and') . ' ORDER BY filename ASC' . $offset);
I haven't tried it so you're on your own.