You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I was working through the sort-by-created PR, I noticed that we pick the first image with the highest sort_order. However the sort_order of a specific image is not possible to set!
This proposal is to make a dropdown item available on an image and add a "Make Gallery Cover" option. This would then designate that image as the cover image. sort_order would be removed as it's not used today for individual images.
The text was updated successfully, but these errors were encountered:
As I was working through the sort-by-created PR, I noticed that we pick the first image with the highest
sort_order
. However thesort_order
of a specific image is not possible to set!So this basically equates to having the gallery cover image be the first image that's uploaded in a gallery.
https://github.com/humhub-contrib/gallery/blob/master/models/CustomGallery.php#L45
This proposal is to make a dropdown item available on an image and add a "Make Gallery Cover" option. This would then designate that image as the cover image.
sort_order
would be removed as it's not used today for individual images.The text was updated successfully, but these errors were encountered: