Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Allow users to decide which image is the "cover" of a gallery #108

Open
Kikketer opened this issue Aug 2, 2022 · 1 comment
Open

Comments

@Kikketer
Copy link
Contributor

Kikketer commented Aug 2, 2022

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!

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.
Screen Shot 2022-08-01 at 8 52 29 PM

@AlbiWe
Copy link

AlbiWe commented Mar 18, 2024

double of #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants