Is there any way I can set the sorting on upload? My customer want that new images appears at the top of the gallery not at the bottom.
Best Regards
Is there any way I can set the sorting on upload? My customer want that new images appears at the top of the gallery not at the bottom.
Best Regards
I guess you mean the panel, not the frontend?
title: Project
sections:
gallery:
label: Gallery
type: files
template: gallery
sortBy: published desc
The problem is here “The sortBy option will automatically switch off manual sorting.”.
My Customer need to keep manual sorting - but want on upload in the gallery field that uploaded files appear at the top of the files.
Then I would create two separate fields, one with manual sorting and one with automatic sorting, which is only used for display purposes.
You can move one of them to a tab so as not to confuse your customers.